| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class NodeValueFactory implements NodeValueFactoryInterface |
||
| 15 | { |
||
| 16 | |||
| 17 | private $decodedJsonNodeValueFactory; |
||
| 18 | |||
| 19 | public static function create(): NodeValueFactoryInterface |
||
| 20 | { |
||
| 21 | return new self(DecodedJsonNodeValueFactory::create()); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function __construct(DecodedJsonNodeValueFactoryInterface $decodedJsonNodeValueFactory) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function createValue(string $json, ?PathInterface $path = null): NodeValueInterface |
||
| 40 | } |
||
| 41 | } |
||
| 42 |