var/cache/dev/ContainerC1MH1xT/getEzpublishLegacy_SessionMapperService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerC1MH1xT;
  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 getEzpublishLegacy_SessionMapperService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'ezpublish_legacy.session_mapper' shared service.
  12. *
  13. * @return \eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Session
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/se7enxweb/legacy-bridge/bundle/LegacyMapper/Session.php';
  18. $container->privates['ezpublish_legacy.session_mapper'] = $instance = new \eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Session(($container->privates['ezpublish_legacy.session_storage_proxy'] ?? $container->load('getEzpublishLegacy_SessionStorageProxyService')), '_sf2_attributes', ($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService')));
  19. $instance->setRequestStack(($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));
  20. return $instance;
  21. }
  22. }