22 lines
372 B
PHP
22 lines
372 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* @method static self home()
|
|
* @method static self marque()
|
|
* @method static self food()
|
|
*/
|
|
class Page extends BaseEnumRoutable
|
|
{
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'home' => 0,
|
|
'marque' => 1,
|
|
'food' => 2,
|
|
];
|
|
}
|
|
}
|