You are here

public function Twig_Function::__construct in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Function.php \Twig_Function::__construct()
3 calls to Twig_Function::__construct()
Twig_Function_Function::__construct in vendor/Twig/Function/Function.php
Twig_Function_Method::__construct in vendor/Twig/Function/Method.php
Twig_Function_Node::__construct in vendor/Twig/Function/Node.php
3 methods override Twig_Function::__construct()
Twig_Function_Function::__construct in vendor/Twig/Function/Function.php
Twig_Function_Method::__construct in vendor/Twig/Function/Method.php
Twig_Function_Node::__construct in vendor/Twig/Function/Node.php

File

vendor/Twig/Function.php, line 25

Class

Twig_Function
Represents a template function.

Code

public function __construct(array $options = array()) {
  $this->options = array_merge(array(
    'needs_environment' => false,
    'needs_context' => false,
    'callable' => null,
  ), $options);
}