public function Twig_Tests_ExpressionParserTest::testMacroDefinitionSupportsConstantDefaultValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/test/Twig/Tests/ExpressionParserTest.php \Twig_Tests_ExpressionParserTest::testMacroDefinitionSupportsConstantDefaultValues()
@dataProvider getMacroDefinitionSupportsConstantDefaultValues
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ ExpressionParserTest.php, line 276
Class
Code
public function testMacroDefinitionSupportsConstantDefaultValues($template) {
$env = new Twig_Environment($this
->getMock('Twig_LoaderInterface'), array(
'cache' => false,
'autoescape' => false,
));
$parser = new Twig_Parser($env);
$parser
->parse($env
->tokenize($template, 'index'));
}