You are here

public function Twig_Compiler::getSource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Compiler.php \Twig_Compiler::getSource()

Gets the current PHP code after compilation.

Return value

string The PHP code

Overrides Twig_CompilerInterface::getSource

File

vendor/twig/twig/lib/Twig/Compiler.php, line 59

Class

Twig_Compiler
Compiles a node to PHP code.

Code

public function getSource() {
  return $this->source;
}