| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function parse(Token $token) |
||
| 39 | { |
||
| 40 | $media = $this->parser->getExpressionParser()->parseExpression(); |
||
| 41 | |||
| 42 | $this->parser->getStream()->next(); |
||
| 43 | |||
| 44 | $format = $this->parser->getExpressionParser()->parseExpression(); |
||
| 45 | |||
| 46 | $this->parser->getStream()->expect(Token::BLOCK_END_TYPE); |
||
| 47 | |||
| 48 | return new PathNode($this->extensionName, $media, $format, $token->getLine(), $this->getTag()); |
||
| 49 | } |
||
| 50 | |||
| 56 |