You are here

public function Twig_SimpleFunction::needsEnvironment in Translation template extractor 6.3

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

File

vendor/Twig/SimpleFunction.php, line 62

Class

Twig_SimpleFunction
Represents a template function.

Code

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