| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class StrictTokenParser extends Twig_TokenParser |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @{inheritDoc} |
||
| 18 | */ |
||
| 19 | public function getTag() |
||
| 20 | { |
||
| 21 | return 'strict'; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @{inheritDoc} |
||
| 26 | */ |
||
| 27 | public function parse(Twig_Token $token) |
||
| 41 | } |
||
| 42 | |||
| 43 | |||
| 44 | /** |
||
| 45 | * Checks if the token is part of the current control structure. |
||
| 46 | * |
||
| 47 | * @param Twig_Token $token |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function decideEnd($token) |
||
| 53 | } |
||
| 54 | } |
||
| 55 |