| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 17 | abstract class EnumerableObject implements EnumerableObjectInterface |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The enum value |
||
| 22 | * |
||
| 23 | * @var mixed |
||
| 24 | */ |
||
| 25 | protected $value; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor of the class |
||
| 29 | * |
||
| 30 | * @param mixed $value |
||
| 31 | */ |
||
| 32 | 1 | public function __construct($value) |
|
| 35 | 1 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 1 | public function getValue() |
|
| 45 |