GrammarInterface.php 426 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * This file is part of Twig.
  4. *
  5. * (c) 2010 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. * @deprecated since version 1.5
  12. */
  13. interface Twig_Extensions_GrammarInterface
  14. {
  15. public function setParser(Twig_Parser $parser);
  16. public function parse(Twig_Token $token);
  17. public function getName();
  18. }