ldc-com-app-bo/app/Enums/Pagination/ItemsPerPaginationEnum.php
2023-08-29 09:39:34 +02:00

30 lines
603 B
PHP

<?php
namespace App\Enums\Pagination;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @method static self five()
* @method static self twelve()
* @method static self twentyfive()
* @method static self fifty()
* @method static self onehundred()
*/
final class ItemsPerPaginationEnum extends BaseEnumRoutable
{
/**
* enum values
* @return array
*/
protected static function values(): array
{
return [
'five' => 5,
'twelve' => 12,
'twentyfive' => 25,
'fifty' => 50,
'onehundred' => 100
];
}
}