Fabien Potencier babe6fca0e minor #2002 Implement Twig_Extension_GlobalsInterface on getGlobals example (totaltrash)
This PR was submitted for the master branch but it was merged into the 1.x branch instead (closes #2002).

Discussion
----------

Implement Twig_Extension_GlobalsInterface on getGlobals example

I'm not sure if more information is required on when and why getGlobals was deprecated from Twig_Extension.

Refs #2001

Commits
-------

b8a987e Implement Twig_Extension_GlobalsInterface on getGlobals example
2016-04-20 08:47:43 +02: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%