ldc-doux/app/Enums/Department.php

354 lines
12 KiB
PHP

<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @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 charenteeme()
* @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 saintPierreEtMiquelon()
* @method static self mayotte()
* @method static self saintBarthelemy()
* @method static self saintMartin()
* @method static self wallisEtFutuna()
* @method static self polynesieFrancaise()
* @method static self nouvelleCaledonie()
* @package App\Enums
*/
class Department extends BaseEnumRoutable
{
/**
* Enum values
*
* @return array<string>
*/
protected static function values(): array
{
return [
'ain' => 1,
'aisne' => 2,
'allier' => 3,
'alpesDeHauteProvence' => 4,
'hautesAlpes' => 5,
'alpesMaritimes' => 6,
'ardeche' => 7,
'ardennes' => 8,
'ariege' => 9,
'aube' => 10,
'aude' => 11,
'aveyron' => 12,
'bouchesDuRhone' => 13,
'calvados' => 14,
'cantal' => 15,
'charenteeme' => 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,
'saintPierreEtMiquelon' => 975,
'mayotte' => 976,
'saintBarthelemy' => 977,
'saintMartin' => 978,
'wallisEtFutuna' => 986,
'polynesieFrancaise' => 987,
'nouvelleCaledonie' => 988
];
}
/**
* Enum labels
*
* @return array<string>
*/
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',
'charenteeme' => 'Charenteême',
'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',
'saintPierreEtMiquelon' => 'Saint-Pierre-et-Miquelon',
'mayotte' => 'Mayotte',
'saintBarthelemy' => 'Saint-Barthélemy',
'saintMartin' => 'Saint-Martin',
'wallisEtFutuna' => 'Wallis-et-Futuna',
'polynesieFrancaise' => 'Polynésie-française',
'nouvelleCaledonie' => 'Nouvelle-Calédonie',
];
}
}