TwigRendererInterface.php 659 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Bridge\Twig\Form;
  11. use Symfony\Component\Form\FormRendererInterface;
  12. use Twig\Environment;
  13. // BC/FC with namespaced Twig
  14. class_exists('Twig\Environment');
  15. /**
  16. * @author Bernhard Schussek <bschussek@gmail.com>
  17. *
  18. * @deprecated since version 3.2, to be removed in 4.0.
  19. */
  20. interface TwigRendererInterface extends FormRendererInterface
  21. {
  22. public function setEnvironment(Environment $environment);
  23. }