ldc-doux/app/Enums/Page.php
2022-02-01 12:44:02 +01:00

54 lines
1.5 KiB
PHP

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