You are here

public function Twig_Function::needsContext in Translation template extractor 6.3

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

Overrides Twig_FunctionInterface::needsContext

File

vendor/Twig/Function.php, line 49

Class

Twig_Function
Represents a template function.

Code

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