public function Twig_Compiler::indent in Translation template extractor 7.3
Same name and namespace in other branches
- 6.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 245
Class
- Twig_Compiler
- Compiles a node to PHP code.
Code
public function indent($step = 1) {
$this->indentation += $step;
return $this;
}