You are here

public function Twig_Function::__construct in Zircon Profile 8

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

File

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

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);
}