You are here

public function Twig_Compiler::getSource in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/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/Compiler.php, line 60

Class

Twig_Compiler
Compiles a node to PHP code.

Code

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