PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.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: 235 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".