You are here

public function Twig_Compiler::indent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/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;
}