You are here

public function Twig_SimpleFunction::needsEnvironment in Translation template extractor 7.3

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

File

vendor/Twig/SimpleFunction.php, line 65

Class

Twig_SimpleFunction
Represents a template function.

Code

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