ldc-legaulois/app/Enums/DepartaimantCurrent.php
2023-06-26 16:02:23 +02:00

333 lines
11 KiB
PHP

<?php
namespace App\Enums;
/**
* @method static self ain()
* @method static self aisne()
* @method static self allier()
* @method static self alpesdehauteprovence()
* @method static self hautesalpes()
* @method static self alpesmaritimes()
* @method static self ardeche()
* @method static self ardennes()
* @method static self ariege()
* @method static self aube()
* @method static self aude()
* @method static self aveyron()
* @method static self bouchesdurhone()
* @method static self calvados()
* @method static self cantal()
* @method static self charente()
* @method static self charentemaritime()
* @method static self cher()
* @method static self correze()
* @method static self corsedusud()
* @method static self hautecorse()
* @method static self cotedor()
* @method static self cotesdarmor()
* @method static self creuse()
* @method static self dordogne()
* @method static self doubs()
* @method static self drome()
* @method static self eure()
* @method static self eureetloir()
* @method static self finistere()
* @method static self gard()
* @method static self hautegaronne()
* @method static self gers()
* @method static self gironde()
* @method static self herault()
* @method static self illeetvilaine()
* @method static self indre()
* @method static self indreetloire()
* @method static self isere()
* @method static self jura()
* @method static self landes()
* @method static self loiretcher()
* @method static self loire()
* @method static self hauteloire()
* @method static self loireatlantique()
* @method static self loiret()
* @method static self lot()
* @method static self lotetgaronne()
* @method static self lozere()
* @method static self maineetloire()
* @method static self manche()
* @method static self marne()
* @method static self hautemarne()
* @method static self mayenne()
* @method static self meurtheetmoselle()
* @method static self meuse()
* @method static self morbihan()
* @method static self moselle()
* @method static self nievre()
* @method static self nord()
* @method static self oise()
* @method static self orne()
* @method static self pasdecalais()
* @method static self puydedome()
* @method static self pyreneesatlantiques()
* @method static self hautespyrenees()
* @method static self pyreneesorientales()
* @method static self basrhin()
* @method static self hautrhin()
* @method static self rhone()
* @method static self hautesaone()
* @method static self saoneetloire()
* @method static self sarthe()
* @method static self savoie()
* @method static self hautesavoie()
* @method static self paris()
* @method static self seinemaritime()
* @method static self seineetmarne()
* @method static self yvelines()
* @method static self deuxsevres()
* @method static self somme()
* @method static self tarn()
* @method static self tarnetgaronne()
* @method static self var()
* @method static self vaucluse()
* @method static self vendee()
* @method static self vienne()
* @method static self hautevienne()
* @method static self vosges()
* @method static self yonne()
* @method static self territoiredebelfort()
* @method static self essonne()
* @method static self hautsdeseine()
* @method static self seinesaintdenis()
* @method static self valdemarne()
* @method static self valdoise()
* @method static self guadeloupe()
* @method static self martinique()
* @method static self guyane()
* @method static self lareunion()
* @method static self mayotte()
*/
final class DepartaimantCurrent extends Departaimant
{
/**
* Enum values
*
* @return array
*/
protected static function values(): array
{
return [
'ain' => '01',
'aisne' => '02',
'allier' => '03',
'alpesdehauteprovence' => '04',
'hautesalpes' => '05',
'alpesmaritimes' => '06',
'ardeche' => '07',
'ardennes' => '08',
'ariege' => '09',
'aube' => '10',
'aude' => '11',
'aveyron' => '12',
'bouchesdurhone' => '13',
'calvados' => '14',
'cantal' => '15',
'charente' => '16',
'charentemaritime' => '17',
'cher' => '18',
'correze' => '19',
'corsedusud' => '2A',
'hautecorse' => '2B',
'cotedor' => '21',
'cotesdarmor' => '22',
'creuse' => '23',
'dordogne' => '24',
'doubs' => '25',
'drome' => '26',
'eure' => '27',
'eureetloir' => '28',
'finistere' => '29',
'gard' => '30',
'hautegaronne' => '31',
'gers' => '32',
'gironde' => '33',
'herault' => '34',
'illeetvilaine' => '35',
'indre' => '36',
'indreetloire' => '37',
'isere' => '38',
'jura' => '39',
'landes' => '40',
'loiretcher' => '41',
'loire' => '42',
'hauteloire' => '43',
'loireatlantique' => '44',
'loiret' => '45',
'lot' => '46',
'lotetgaronne' => '47',
'lozere' => '48',
'maineetloire' => '49',
'manche' => '50',
'marne' => '51',
'hautemarne' => '52',
'mayenne' => '53',
'meurtheetmoselle' => '54',
'meuse' => '55',
'morbihan' => '56',
'moselle' => '57',
'nievre' => '58',
'nord' => '59',
'oise' => '60',
'orne' => '61',
'pasdecalais' => '62',
'puydedome' => '63',
'pyreneesatlantiques' => '64',
'hautespyrenees' => '65',
'pyreneesorientales' => '66',
'basrhin' => '67',
'hautrhin' => '68',
'rhone' => '69',
'hautesaone' => '70',
'saoneetloire' => '71',
'sarthe' => '72',
'savoie' => '73',
'hautesavoie' => '74',
'paris' => '75',
'seinemaritime' => '76',
'seineetmarne' => '77',
'yvelines' => '78',
'deuxsevres' => '79',
'somme' => '80',
'tarn' => '81',
'tarnetgaronne' => '82',
'var' => '83',
'vaucluse' => '84',
'vendee' => '85',
'vienne' => '86',
'hautevienne' => '87',
'vosges' => '88',
'yonne' => '89',
'territoiredebelfort' => '90',
'essonne' => '91',
'hautsdeseine' => '92',
'seinesaintdenis' => '93',
'valdemarne' => '94',
'valdoise' => '95',
'guadeloupe' => '971',
'martinique' => '972',
'guyane' => '973',
'lareunion' => '974',
'mayotte' => '976'
];
}
/**
* Enum label
*
* @return array
*/
protected static function labels(): array
{
return [
'ain' => 'Ain',
'aisne' => 'Aisne',
'allier' => 'Allier',
'alpesdehauteprovence' => 'Alpes-de-Haute-Provence',
'hautesalpes' => 'Hautes-alpes',
'alpesmaritimes' => 'Alpes-maritimes',
'ardeche' => 'Ardèche',
'ardennes' => 'Ardennes',
'ariege' => 'Ariège',
'aube' => 'Aube',
'aude' => 'Aude',
'aveyron' => 'Aveyron',
'bouchesdurhone' => 'Bouches-du-Rhône',
'calvados' => 'Calvados',
'cantal' => 'Cantal',
'charente' => 'Charente',
'charentemaritime' => 'Charente-maritime',
'cher' => 'Cher',
'correze' => 'Corrèze',
'corsedusud' => 'Corse-du-sud',
'hautecorse' => 'Haute-Corse',
'cotedor' => 'Côte-d\'Or',
'cotesdarmor' => 'Côtes-d\'Armor',
'creuse' => 'Creuse',
'dordogne' => 'Dordogne',
'doubs' => 'Doubs',
'drome' => 'Drôme',
'eure' => 'Eure',
'eureetloir' => 'Eure-et-loir',
'finistere' => 'Finistère',
'gard' => 'Gard',
'hautegaronne' => 'Haute-garonne',
'gers' => 'Gers',
'gironde' => 'Gironde',
'herault' => 'Hérault',
'illeetvilaine' => 'Ille-et-vilaine',
'indre' => 'Indre',
'indreetloire' => 'Indre-et-loire',
'isere' => 'Isère',
'jura' => 'Jura',
'landes' => 'Landes',
'loiretcher' => 'Loir-et-cher',
'loire' => 'Loire',
'hauteloire' => 'Haute-loire',
'loireatlantique' => 'Loire-atlantique',
'loiret' => 'Loiret',
'lot' => 'Lot',
'lotetgaronne' => 'Lot-et-garonne',
'lozere' => 'Lozère',
'maineetloire' => 'Maine-et-loire',
'manche' => 'Manche',
'marne' => 'Marne',
'hautemarne' => 'Haute-marne',
'mayenne' => 'Mayenne',
'meurtheetmoselle' => 'Meurthe-et-moselle',
'meuse' => 'Meuse',
'morbihan' => 'Morbihan',
'moselle' => 'Moselle',
'nievre' => 'Nièvre',
'nord' => 'Nord',
'oise' => 'Oise',
'orne' => 'Orne',
'pasdecalais' => 'Pas-de-calais',
'puydedome' => 'Puy-de-dôme',
'pyreneesatlantiques' => 'Pyrénées-atlantiques',
'hautespyrenees' => 'Hautes-Pyrénées',
'pyreneesorientales' => 'Pyrénées-orientales',
'basrhin' => 'Bas-rhin',
'hautrhin' => 'Haut-rhin',
'rhone' => 'Rhône',
'hautesaone' => 'Haute-saône',
'saoneetloire' => 'Saône-et-loire',
'sarthe' => 'Sarthe',
'savoie' => 'Savoie',
'hautesavoie' => 'Haute-savoie',
'paris' => 'Paris',
'seinemaritime' => 'Seine-maritime',
'seineetmarne' => 'Seine-et-marne',
'yvelines' => 'Yvelines',
'deuxsevres' => 'Deux-sèvres',
'somme' => 'Somme',
'tarn' => 'Tarn',
'tarnetgaronne' => 'Tarn-et-Garonne',
'var' => 'Var',
'vaucluse' => 'Vaucluse',
'vendee' => 'Vendée',
'vienne' => 'Vienne',
'hautevienne' => 'Haute-vienne',
'vosges' => 'Vosges',
'yonne' => 'Yonne',
'territoiredebelfort' => 'Territoire de belfort',
'essonne' => 'Essonne',
'hautsdeseine' => 'Hauts-de-seine',
'seinesaintdenis' => 'Seine-Saint-Denis',
'valdemarne' => 'Val-de-marne',
'valdoise' => 'Val-d\'Oise',
'guadeloupe' => 'Guadeloupe',
'martinique' => 'Martinique',
'guyane' => 'Guyane',
'lareunion' => 'La réunion',
'mayotte' => 'Mayotte'
];
}
}