| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class NodeValueFactory implements NodeValueFactoryInterface |
||
| 18 | { |
||
| 19 | |||
| 20 | private $decodedJsonNodeValueFactory; |
||
| 21 | |||
| 22 | public static function create(): NodeValueFactoryInterface |
||
| 23 | { |
||
| 24 | return new self(DecodedJsonNodeValueFactory::create()); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function __construct(DecodedJsonNodeValueFactoryInterface $decodedJsonNodeValueFactory) |
||
| 30 | } |
||
| 31 | |||
| 32 | public function createValue(string $json, ?PathInterface $path = null): NodeValueInterface |
||
| 43 | } |
||
| 44 | } |
||
| 45 |