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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user