customTemplateEscapingGuesser.php 180 B

123456
  1. <?php
  2. $container->loadFromExtension('twig', array(
  3. 'autoescape_service' => 'my_project.some_bundle.template_escaping_guesser',
  4. 'autoescape_service_method' => 'guess',
  5. ));