| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function parse(Twig_Token $token) |
||
| 22 | { |
||
| 23 | // parse attributes |
||
| 24 | $path = $this->parser->getExpressionParser()->parseExpression(); |
||
| 25 | $properties = $this->parseProperties($token); |
||
| 26 | $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE); |
||
| 27 | |||
| 28 | // return node |
||
| 29 | return new XlsDrawingNode($path, $properties, $token->getLine(), $this->getTag()); |
||
| 30 | } |
||
| 31 | |||
| 40 |