Upgrade Twig library
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
/**
|
||||
* Represents a template function.
|
||||
*
|
||||
* @package twig
|
||||
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
|
||||
* Use Twig_SimpleFunction instead.
|
||||
*
|
||||
* @author Arnaud Le Blanc <arnaud.lb@gmail.com>
|
||||
* @deprecated since 1.12 (to be removed in 2.0)
|
||||
*/
|
||||
interface Twig_FunctionInterface
|
||||
{
|
||||
@@ -23,11 +25,15 @@ interface Twig_FunctionInterface
|
||||
*
|
||||
* @return string The PHP code for the function
|
||||
*/
|
||||
function compile();
|
||||
public function compile();
|
||||
|
||||
function needsEnvironment();
|
||||
public function needsEnvironment();
|
||||
|
||||
function needsContext();
|
||||
public function needsContext();
|
||||
|
||||
function getSafe(Twig_Node $filterArgs);
|
||||
public function getSafe(Twig_Node $filterArgs);
|
||||
|
||||
public function setArguments($arguments);
|
||||
|
||||
public function getArguments();
|
||||
}
|
||||
|
Reference in New Issue
Block a user