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