| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function register() |
||
| 31 | { |
||
| 32 | $this->container->add(NodeBuilderInterface::class, function () { |
||
| 33 | return new NodeBuilder(SupportedBuilders::get()); |
||
| 34 | }); |
||
| 35 | |||
| 36 | $this->container->add(ParserInterface::class, Parser::class, true/* $shared */) |
||
| 37 | ->withArgument(NodeBuilderInterface::class); |
||
| 38 | |||
| 39 | $this->container->add(LexerInterface::class, function () { |
||
| 40 | return new Lexer(SupportedReaders::get()); |
||
| 41 | }); |
||
| 44 |