var/cache/dev/ContainerY3DYq7x/getSession_FlashBagService.php line 24

Open in your IDE?
  1. <?php
  2. namespace ContainerY3DYq7x;
  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 getSession_FlashBagService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'session.flash_bag' shared service.
  12.      *
  13.      * @return \Symfony\Component\HttpFoundation\Session\Flash\FlashBag
  14.      *
  15.      * @deprecated Since symfony/framework-bundle 5.1: The "session.flash_bag" service is deprecated, use "$session->getFlashBag()" instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('symfony/framework-bundle''5.1''The "session.flash_bag" service is deprecated, use "$session->getFlashBag()" instead.');
  20.         return $container->privates['session.flash_bag'] = ($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService'))->getFlashBag();
  21.     }
  22. }