public function Twig_Compiler::indent in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Compiler.php \Twig_Compiler::indent()
Indents the generated code.
Parameters
int $step The number of indentation to add:
Return value
Twig_Compiler The current compiler instance
File
- vendor/
Twig/ Compiler.php, line 244
Class
- Twig_Compiler
- Compiles a node to PHP code.
Code
public function indent($step = 1) {
$this->indentation += $step;
return $this;
}