Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #2119 deprecated some more methods on Twig_Environment (fabpot)
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
- Loading branch information
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters