Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function compile(Twig_Compiler $compiler) |
||
31 | { |
||
32 | $compiler->addDebugInfo($this) |
||
33 | ->write('$context[\'phpExcel\']->setRowIndex(') |
||
34 | ->subcompile($this->getNode('index')) |
||
35 | ->raw(');' . PHP_EOL) |
||
36 | ->write('$context[\'phpExcel\']->startRow($context[\'phpExcel\']->getRowIndex());' . PHP_EOL) |
||
37 | ->write('$context[\'phpExcel\']->setRowIndex(0);' . PHP_EOL) |
||
38 | ->subcompile($this->getNode('body')) |
||
39 | ->addDebugInfo($this) |
||
40 | ->write('$context[\'phpExcel\']->endRow();' . PHP_EOL); |
||
41 | } |
||
42 | |||
61 |