PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 245 bytes
 

Contents

Class file image Download
--TEST-- Exception for an undefined trait --TEMPLATE-- {% use 'foo' with foobar as bar %} --TEMPLATE(foo)-- {% block bar %} {% endblock %} --EXCEPTION-- Twig_Error_Runtime: Block "foobar" is not defined in trait "foo" in "index.twig" at line 2.