ldc-doux/app/Enums/Page.php
2021-12-17 17:27:25 +01:00

48 lines
1.3 KiB
PHP

<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @method static self homeHeader()
* @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 newsAdvice()
* @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 [
'homeHeader' => 0,
'homeProducts' => 1,
'homeNews' => 2,
'marqueHeader' => 3,
'marqueBloc2' => 4,
'marqueBloc3' => 5,
'marqueBloc4' => 6,
'marqueBloc4l' => 7,
'marqueBloc4r' => 8,
'marqueFooter' => 9,
'newsAdvice' => 10,
'newsQuestions' => 11,
'newsPosts' => 12,
'newsProducts' => 13,
'foodHeader' => 14,
'foodBloc2' => 15,
'foodProducts' => 16,
];
}
}