public function Twig_Tests_Node_Expression_ParentTest::getTests in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/Node/Expression/ParentTest.php \Twig_Tests_Node_Expression_ParentTest::getTests()
Overrides Twig_Test_NodeTestCase::getTests
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ Node/ Expression/ ParentTest.php, line 21
Class
Code
public function getTests() {
$tests = array();
$tests[] = array(
new Twig_Node_Expression_Parent('foo', 1),
'$this->renderParentBlock("foo", $context, $blocks)',
);
return $tests;
}