PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/tags/embed/multiple.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/tags/embed/multiple.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/tags/embed/multiple.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 572 bytes
 

Contents

Class file image Download
--TEST-- "embed" tag --TEMPLATE-- FOO {% embed "foo.twig" %} {% block c1 %} {{ parent() }} block1extended {% endblock %} {% endembed %} {% embed "foo.twig" %} {% block c1 %} {{ parent() }} block1extended {% endblock %} {% endembed %} BAR --TEMPLATE(foo.twig)-- A {% block c1 %} block1 {% endblock %} B {% block c2 %} block2 {% endblock %} C --DATA-- return array() --EXPECT-- FOO A block1 block1extended B block2 C A block1 block1extended B block2 C BAR