| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function __construct(Parser $parser = null, PrettyPrinterAbstract $printer = null) |
||
| 39 | { |
||
| 40 | if (null === $parser) { |
||
| 41 | $parser = new Parser(new Lexer()); |
||
| 42 | } |
||
| 43 | |||
| 44 | if (null === $printer) { |
||
| 45 | $printer = new Standard(); |
||
| 46 | } |
||
| 47 | |||
| 48 | $this->parser = $parser; |
||
| 49 | $this->printer = $printer; |
||
| 50 | } |
||
| 51 | |||
| 73 |