mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
ccb7981e5a266ce04d8eb615170b0b53f65a3395
This PR was merged into the 1.x branch.
Discussion
----------
deprecated some more methods on Twig_Environment
These methods are sometimes misused (#2020) when called from a template context (Twig_Template::getEnv() has been deprecated as well, but #2106 might re-introduce it).
Anyway, Twig_Environment should not act as a container, so, being able to change the defaults make sense, but retrieving them probably not.
Commits
-------
e548cbe deprecated some more methods on Twig_Environment
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. .. _documentation: http://twig.sensiolabs.org/documentation
Description
Languages
PHP
99.9%