ldc-doux/app/Enums/Page.php

49 lines
1.3 KiB
PHP
Raw Normal View History

2021-12-08 17:32:31 +01:00
<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
2021-12-17 17:27:25 +01:00
* @method static self homeHeader()
2021-12-15 10:09:39 +01:00
* @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()
2021-12-17 17:27:25 +01:00
* @method static self newsAdvice()
2021-12-15 10:09:39 +01:00
* @method static self newsQuestions()
* @method static self newsPosts()
* @method static self newsProducts()
* @method static self foodHeader()
* @method static self foodBloc2()
* @method static self foodProducts()
2021-12-08 17:32:31 +01:00
*/
class Page extends BaseEnumRoutable
{
protected static function values(): array
{
return [
2021-12-17 17:27:25 +01:00
'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,
2021-12-08 17:32:31 +01:00
];
}
}