You are here

public function Twig_Function::needsContext in Translation template extractor 7.3

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

Overrides Twig_FunctionInterface::needsContext

File

vendor/Twig/Function.php, line 52

Class

Twig_Function
Represents a template function.

Code

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