You are here

public function Twig_Function::needsEnvironment in Zircon Profile 8.0

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

Overrides Twig_FunctionInterface::needsEnvironment

File

vendor/twig/twig/lib/Twig/Function.php, line 47

Class

Twig_Function
Represents a template function.

Code

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