22 lines
408 B
PHP
22 lines
408 B
PHP
<?php
|
|
|
|
namespace Kwaadpepper\Enum\Tests\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* @method static self one()
|
|
* @method static self two()
|
|
* @method static self three()
|
|
*/
|
|
final class DuplicatedValues extends BaseEnumRoutable
|
|
{
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'one' => '0',
|
|
'two' => '1',
|
|
'three' => '1'
|
|
];
|
|
}
|
|
}
|