| 123456789101112131415161718192021222324252627282930313233 | <?php
namespace App\Enums;
use App\Enums\Concerns\Utilities;
use Filament\Support\Contracts\HasLabel;
enum RecordsPerPage: int implements HasLabel
{
    use Utilities;
    case Five = 5;
    case Ten = 10;
    case TwentyFive = 25;
    case Fifty = 50;
    case OneHundred = 100;
    public const DEFAULT = self::Ten->value;
    public const FIVE = self::Five->value;
    public const TEN = self::Ten->value;
    public const TWENTY_FIVE = self::TwentyFive->value;
    public const FIFTY = self::Fifty->value;
    public const ONE_HUNDRED = self::OneHundred->value;
    public function getLabel(): ?string
    {
        return (string) $this->value;
    }
}
 |