var/cache/dev/ContainerTHm8hE0/getSylius_Controller_Shop_LocaleSwitchService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerTHm8hE0;
  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 getSylius_Controller_Shop_LocaleSwitchService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'sylius.controller.shop.locale_switch' shared service.
  12.      *
  13.      * @return \Sylius\Bundle\ShopBundle\Controller\LocaleSwitchController
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/src/Sylius/Bundle/ShopBundle/Controller/LocaleSwitchController.php';
  18.         include_once \dirname(__DIR__4).'/src/Sylius/Bundle/ShopBundle/Locale/LocaleSwitcherInterface.php';
  19.         include_once \dirname(__DIR__4).'/src/Sylius/Bundle/ShopBundle/Locale/UrlBasedLocaleSwitcher.php';
  20.         return $container->services['sylius.controller.shop.locale_switch'] = new \Sylius\Bundle\ShopBundle\Controller\LocaleSwitchController(($container->services['twig'] ?? $container->getTwigService()), ($container->services['Sylius\\Component\\Locale\\Context\\LocaleContextInterface'] ?? $container->getLocaleContextInterfaceService()), ($container->services['sylius.locale_provider.channel_based'] ?? $container->getSylius_LocaleProvider_ChannelBasedService()), new \Sylius\Bundle\ShopBundle\Locale\UrlBasedLocaleSwitcher(($container->services['router'] ?? $container->getRouterService())));
  21.     }
  22. }