TestInterface.php 509 B

12345678910111213141516171819202122232425262728
  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. * Represents a template test.
  12. *
  13. * @author Fabien Potencier <fabien@symfony.com>
  14. *
  15. * @deprecated since 1.12 (to be removed in 2.0)
  16. */
  17. interface Twig_TestInterface
  18. {
  19. /**
  20. * Compiles a test.
  21. *
  22. * @return string The PHP code for the test
  23. */
  24. public function compile();
  25. }