ldc-doux/app/Enums/Page.php

70 lines
1.8 KiB
PHP
Raw Permalink 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()
2022-01-30 13:57:46 +01:00
* @method static self marqueHistory()
2021-12-15 10:09:39 +01:00
* @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()
2022-02-01 12:44:02 +01:00
* @method static self mentions()
* @method static self charte()
2022-05-12 16:03:40 +02:00
* @method static self home()
* @method static self marque()
* @method static self news()
* @method static self foodservice()
* @method static self gammes()
2021-12-08 17:32:31 +01:00
*/
class Page extends BaseEnumRoutable
{
2022-08-29 17:23:10 +02:00
/**
* Enum values
*
* @return array
*/
2021-12-08 17:32:31 +01:00
protected static function values(): array
{
return [
2021-12-17 17:27:25 +01:00
'homeHeader' => 0,
'homeProducts' => 1,
'homeNews' => 2,
'marqueHeader' => 3,
2022-01-30 13:57:46 +01:00
'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,
2022-02-01 12:44:02 +01:00
'mentions' => 18,
'charte' => 19,
2022-05-12 16:03:40 +02:00
'home' => 20,
'marque' => 21,
'news' => 22,
'foodservice' => 23,
'gammes' => 24
2021-12-08 17:32:31 +01:00
];
}
}