mirror of
https://github.com/flextype/flextype.git
synced 2025-08-14 00:54:03 +02:00
Flextype: JsonParserTwigExtension - updates.
This commit is contained in:
@@ -22,8 +22,8 @@ class JsonParserTwigExtension extends \Twig_Extension
|
||||
public function getFunctions()
|
||||
{
|
||||
return [
|
||||
new \Twig_SimpleFunction('json_parser_decode', array($this, 'json_parser_decode')),
|
||||
new \Twig_SimpleFunction('json_parser_encode', array($this, 'json_parser_encode'))
|
||||
new \Twig_SimpleFunction('json_parser_decode', array($this, 'decode')),
|
||||
new \Twig_SimpleFunction('json_parser_encode', array($this, 'encode'))
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user