46 lines
1.2 KiB
PHP
46 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* @method static self home()
|
|
* @method static self marqueHeader()
|
|
* @method static self marqueBloc2()
|
|
* @method static self marqueBloc3()
|
|
* @method static self marqueBloc4()
|
|
* @method static self marqueBloc4l()
|
|
* @method static self marqueBloc4r()
|
|
* @method static self marqueFooter()
|
|
* @method static self newsAdvices()
|
|
* @method static self newsQuestions()
|
|
* @method static self newsPosts()
|
|
* @method static self newsProducts()
|
|
* @method static self foodHeader()
|
|
* @method static self foodBloc2()
|
|
* @method static self foodProducts()
|
|
*/
|
|
class Page extends BaseEnumRoutable
|
|
{
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'home' => 0,
|
|
'marqueHeader' => 1,
|
|
'marqueBloc2' => 2,
|
|
'marqueBloc3' => 3,
|
|
'marqueBloc4' => 4,
|
|
'marqueBloc4l' => 5,
|
|
'marqueBloc4r' => 6,
|
|
'marqueFooter' => 7,
|
|
'newsAdvices' => 8,
|
|
'newsQuestions' => 9,
|
|
'newsPosts' => 10,
|
|
'newsProducts' => 11,
|
|
'foodHeader' => 12,
|
|
'foodBloc2' => 13,
|
|
'foodProducts' => 14,
|
|
];
|
|
}
|
|
}
|