You are here

public function Twig_Function::needsEnvironment in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Function.php \Twig_Function::needsEnvironment()

Overrides Twig_FunctionInterface::needsEnvironment

File

vendor/Twig/Function.php, line 44

Class

Twig_Function
Represents a template function.

Code

public function needsEnvironment() {
  return $this->options['needs_environment'];
}