1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

feat(core): YAML parsing will be cached in production #263

This commit is contained in:
Awilum
2019-10-15 19:00:53 +03:00
parent a12e0d07aa
commit 5027be7f21

View File

@@ -60,7 +60,7 @@ class ParserTwigExtension extends Twig_Extension
/**
* Decode
*/
public function decode(string $input, string $parser, bool $cache)
public function decode(string $input, string $parser, bool $cache = true)
{
return $this->flextype['parser']->decode($input, $parser, $cache);
}