Fabien Potencier f38f6bf72d feature #2118 deprecated Twig_Compiler::getFilename() (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

deprecated Twig_Compiler::getFilename()

Using `Twig_Compiler::getFilename()` is very fragile as depending on when it is called, the returned value can be very different (depending on template compilation that can have occurred in between).

see #2020 for such a wrong usage.

Commits
-------

1f41e9f deprecated Twig_Compiler::getFilename()
2016-09-18 19:02:15 -07:00
2016-09-01 10:55:16 -07:00
2015-01-20 03:31:04 +01:00
2016-01-25 22:21:03 +01:00
2016-01-01 02:33:03 +01:00

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
Languages
PHP 99.9%