| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class EnumDefinition |
||
| 6 | { |
||
| 7 | /** @var string|int */ |
||
| 8 | public $value; |
||
| 9 | |||
| 10 | public string $label; |
||
| 11 | |||
| 12 | private string $methodName; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string $methodName |
||
| 16 | * @param string|int $value |
||
| 17 | * @param string $label |
||
| 18 | */ |
||
| 19 | public function __construct(string $methodName, $value, string $label) |
||
| 24 | } |
||
| 25 | |||
| 26 | public function equals($input): bool |
||
| 39 |