You are here

public function Twig_Function::needsEnvironment in Translation template extractor 7.3

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

Overrides Twig_FunctionInterface::needsEnvironment

File

vendor/Twig/Function.php, line 47

Class

Twig_Function
Represents a template function.

Code

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