mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 05:16:30 +00:00
616c1cceb191d1c390cbf60471e5b61af4df053c
This PR was merged into the 2.0-dev branch.
Discussion
----------
Twig_Template::getContext() removal
`Twig_Template::getContext()` is an implementation detail as it is only used on some PHP versions, for some cases. But even with the big warning in the phpdoc, people want to use it, which is a really bad idea. Removing it in 1.x would be kind of a "BC break", so I propose to remove it in 2.0.
Commits
-------
a0261e7 removed code that people want to overide over and over again
…
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%