mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
03926034c452bbf7f3bcc14dd167acf39bb33818
This PR was merged into the master branch. Discussion ---------- Improved macros | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #861, #867, #929, #1052 | License | MIT | Doc | yes * Fixed fatal error for unknown macro * Added support for named arguments for macros * Added support for directly call macros defined in the same template Commits -------3004ba1Added support for directly call macros defined in the same template63615a6Added support for named arguments for macros09fedb8Fixed fatal error for unknown macro9e96837Refactored parsing of macros
…
…
Twig, the flexible, fast, and secure template language for PHP
Twig is a template language for PHP, released under the new BSD license (code and documentation).
Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.
More Information
Read the documentation for more information.
Description
Languages
PHP
99.9%
