ldc-enum/tests/Enums/NotRoutableEnum.php

28 lines
453 B
PHP
Raw Permalink Normal View History

2021-09-12 00:12:49 +02:00
<?php
namespace Kwaadpepper\Enum\Tests\Enums;
use Kwaadpepper\Enum\BaseEnum;
/**
* @method static self one()
* @method static self two()
* @method static self three()
*/
final class NotRoutableEnum extends BaseEnum
{
2023-05-30 09:27:27 +02:00
/**
* All values
*
* @return array
*/
2021-09-12 00:12:49 +02:00
protected static function values(): array
{
return [
'one' => '0',
'two' => '1',
'three' => '2'
];
}
}