var/cache/dev/ContainerMBEyLVQ/getTemplatingService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerMBEyLVQ;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getTemplatingService extends appAppKernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'templating' shared service.
  12.      *
  13.      * @return \Symfony\Bundle\TwigBundle\TwigEngine
  14.      *
  15.      * @deprecated The "templating" service is deprecated since Symfony 4.4 and will be removed in 5.0.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('''''The "templating" service is deprecated since Symfony 4.4 and will be removed in 5.0.');
  20.         return $container->services['templating'] = new \Symfony\Bundle\TwigBundle\TwigEngine(($container->services['twig'] ?? $container->getTwigService()), ($container->privates['templating.name_parser'] ?? $container->load('getTemplating_NameParserService')), ($container->privates['templating.locator'] ?? $container->load('getTemplating_LocatorService')));
  21.     }
  22. }