| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | public function parse(Twig_Token $token) |
||
| 25 | { |
||
| 26 | $stream = $this->parser->getStream(); |
||
| 27 | |||
| 28 | $stream->expect(Twig_Token::BLOCK_END_TYPE); |
||
| 29 | $body = $this->parser->subparse(array($this, 'decideEndAnnotations')); |
||
| 30 | $stream->expect('endannotations'); |
||
| 31 | $stream->expect(Twig_Token::BLOCK_END_TYPE); |
||
| 32 | |||
| 33 | return new AnnotationsNode(array('body' => $body)); |
||
| 34 | } |
||
| 57 |