| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class Node implements \JsonSerializable |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string|null |
||
| 11 | */ |
||
| 12 | private $configuredName; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string|null $configuredName |
||
| 16 | */ |
||
| 17 | 3 | public function __construct($configuredName = null) |
|
| 18 | { |
||
| 19 | 3 | $this->configuredName = $configuredName; |
|
| 20 | 3 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @return string|null |
||
| 24 | */ |
||
| 25 | 1 | public function configuredName() |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | 1 | public function jsonSerialize() |
|
| 37 | 1 | ]; |
|
| 38 | } |
||
| 40 |