| Total Complexity | 7 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class NodeValueFactory implements NodeValueFactoryInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | public static function create(): NodeValueFactoryInterface |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritDoc} |
||
| 23 | * |
||
| 24 | * @param array|bool|float|int|stdClass|string|null $data |
||
| 25 | * @param PathInterface|null $path |
||
| 26 | * @return NodeValueInterface |
||
| 27 | */ |
||
| 28 | public function createValue($data, ?PathInterface $path = null): NodeValueInterface |
||
| 48 |