1
0
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:
Awilum
2019-04-25 19:53:03 +03:00
parent c1c32b4b05
commit 9853163564

View File

@@ -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'))
];
}