var/cache/dev/ContainerXQm06II/getSylius_Controller_Shop_LocaleSwitchService.php line 13

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'sylius.controller.shop.locale_switch' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Controller/LocaleSwitchController.php';
  7. include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Locale/LocaleSwitcherInterface.php';
  8. include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Locale/UrlBasedLocaleSwitcher.php';
  9. return $this->services['sylius.controller.shop.locale_switch'] = new \Sylius\Bundle\ShopBundle\Controller\LocaleSwitchController(($this->services['templating'] ?? $this->load('getTemplatingService.php')), ($this->services['Sylius\\Component\\Locale\\Context\\LocaleContextInterface'] ?? $this->getLocaleContextInterfaceService()), ($this->services['sylius.locale_provider.channel_based'] ?? $this->getSylius_LocaleProvider_ChannelBasedService()), new \Sylius\Bundle\ShopBundle\Locale\UrlBasedLocaleSwitcher(($this->services['router'] ?? $this->getRouterService())));