mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 01:16:52 +00:00
[Twig] Add a note about multiple inheritance (use tag)
This commit is contained in:
@@ -343,6 +343,12 @@ parent block:
|
||||
more advanced features like block nesting, scope, dynamic inheritance, and
|
||||
conditional inheritance.
|
||||
|
||||
.. note::
|
||||
|
||||
Twig also supports multiple inheritance with the so called horizontal reuse
|
||||
with the help of the :doc:`use<tags/use>` tag. This is an advanced feature
|
||||
hardly ever needed in regular templates.
|
||||
|
||||
HTML Escaping
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user