You are here

public function Twig_Tests_Node_Expression_ParentTest::getTests in Zircon Profile 8

Same name and namespace in other branches
  1. 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

Twig_Tests_Node_Expression_ParentTest

Code

public function getTests() {
  $tests = array();
  $tests[] = array(
    new Twig_Node_Expression_Parent('foo', 1),
    '$this->renderParentBlock("foo", $context, $blocks)',
  );
  return $tests;
}