interface Twig_FunctionInterface in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/FunctionInterface.php \Twig_FunctionInterface
Represents a template function.
Use Twig_SimpleFunction instead.
@author Arnaud Le Blanc <arnaud.lb@gmail.com>
Hierarchy
- interface \Twig_FunctionInterface
Expanded class hierarchy of Twig_FunctionInterface
All classes that implement Twig_FunctionInterface
Deprecated
since 1.12 (to be removed in 2.0)
File
- vendor/
Twig/ FunctionInterface.php, line 21
View source
interface Twig_FunctionInterface {
/**
* Compiles a function.
*
* @return string The PHP code for the function
*/
public function compile();
public function needsEnvironment();
public function needsContext();
public function getSafe(Twig_Node $filterArgs);
public function setArguments($arguments);
public function getArguments();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_FunctionInterface:: |
public | function | Compiles a function. | 3 |
Twig_FunctionInterface:: |
public | function | 1 | |
Twig_FunctionInterface:: |
public | function | 1 | |
Twig_FunctionInterface:: |
public | function | 1 | |
Twig_FunctionInterface:: |
public | function | 1 | |
Twig_FunctionInterface:: |
public | function | 1 |