Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 10 |
Ratio | 100 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | 4 | public function compile(\Twig_Compiler $compiler) |
|
27 | { |
||
28 | $compiler |
||
29 | 4 | ->write(sprintf('}, $this), %s);', $this->getAttribute('execution_priority'))) |
|
30 | 4 | ->write("\n"); |
|
31 | |||
32 | $compiler |
||
33 | 4 | ->write(sprintf('%s->bufferize(Closure::bind(function() use (&$context, &$blocks) { ', $this->getAttribute('bufferized_context_variable_name'))) |
|
34 | 4 | ->write("\n"); |
|
35 | 4 | } |
|
36 | } |
||
37 |