| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractStructEnumBase implements StructEnumInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Return true if value is allowed |
||
| 11 | * @param mixed $value value |
||
| 12 | * @return bool true|false |
||
| 13 | */ |
||
| 14 | 4 | public static function valueIsValid($value): bool |
|
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Default string representation of current object. Don't want to expose any sensible data |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 2 | public function __toString(): string |
|
| 28 |