ldc-enum/tests/Enums/ForceStringsFromInteger.php

28 lines
491 B
PHP
Raw Permalink Normal View History

<?php
namespace Kwaadpepper\Enum\Tests\Enums;
2021-09-11 11:09:10 +02:00
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @method static self valueA()
* @method static self valueB()
* @method static self valueC()
*/
2021-09-11 11:09:10 +02:00
final class ForceStringsFromInteger extends BaseEnumRoutable
{
2023-05-30 09:27:27 +02:00
/**
* All values
*
* @return array
*/
protected static function values(): array
{
return [
'valueA' => '0',
'valueB' => '1',
'valueC' => '2'
];
}
}