ldc-web/app/Enums/Environment.php
2022-09-21 11:17:58 +00:00

40 lines
627 B
PHP

<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* SMTP Types
*
* @method static self DEV()
* @method static self PROD()
*/
final class Environment extends BaseEnumRoutable
{
/**
* Enum values
*
* @return array
*/
protected static function values(): array
{
return [
'DEV' => 0,
'PROD' => 1,
];
}
/**
* Enum labels
*
* @return array
*/
protected static function labels(): array
{
return [
'DEV' => 'Developpement',
'PROD' => 'Production'
];
}
}