GlobalsInterface.php 512 B

1234567891011121314151617181920212223
  1. <?php
  2. /*
  3. * This file is part of Twig.
  4. *
  5. * (c) Fabien Potencier
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. /**
  11. * Enables usage of the deprecated Twig_Extension::getGlobals() method.
  12. *
  13. * Explicitly implement this interface if you really need to implement the
  14. * deprecated getGlobals() method in your extensions.
  15. *
  16. * @author Fabien Potencier <fabien@symfony.com>
  17. */
  18. interface Twig_Extension_GlobalsInterface
  19. {
  20. }