GrammarInterface.php 372B

12345678910111213141516171819
  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. interface Twig_Extensions_GrammarInterface
  11. {
  12. function setParser(Twig_ParserInterface $parser);
  13. function parse(Twig_Token $token);
  14. function getName();
  15. }