ldc-enum/tests/Enums/DuplicatedLabels.php

28 lines
476 B
PHP
Raw 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 DuplicatedLabels extends BaseEnumRoutable
{
2023-05-30 09:27:27 +02:00
/**
* All labels
*
* @return array
*/
2021-09-12 00:12:49 +02:00
protected static function labels(): array
{
return [
'one' => 'one',
'two' => 'two',
'three' => 'two'
];
}
}