43 lines
777 B
PHP
43 lines
777 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* SMTP Types
|
|
*
|
|
* @method static self ldc() LDC Relay
|
|
* @method static self mailjet() Mailjet Relay
|
|
* @method static self sendinblue() Sendinblue Relay
|
|
*/
|
|
final class SmtpEnum extends BaseEnumRoutable
|
|
{
|
|
/**
|
|
* Enum values
|
|
*
|
|
* @return array
|
|
*/
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'ldc' => 1,
|
|
'mailjet' => 2,
|
|
'sendinblue' => 3,
|
|
];
|
|
}
|
|
|
|
/**
|
|
* Enum labels
|
|
*
|
|
* @return array
|
|
*/
|
|
protected static function labels(): array
|
|
{
|
|
return [
|
|
'ldc' => 'LDC Relay',
|
|
'mailjet' => 'Mailjet',
|
|
'sendinblue' => 'Sendinblue',
|
|
];
|
|
}
|
|
}
|