ldc-enum/tests/Enums/DuplicatedValues.php

28 lines
470 B
PHP
Raw Permalink Normal View History

2021-09-12 00:12:49 +02:00
<?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
{
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' => '1'
];
}
}