<?php
namespace ContainerK2Wjmxr;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSessionService extends KernelDevDebugContainer
{
/**
* Gets the public 'session' shared autowired service.
*
* @return \Flagship\Components\Entities\Session\Session
*
* @deprecated Since symfony/framework-bundle 5.3: The "session" service and "SessionInterface" alias are deprecated, use "$requestStack->getSession()" instead.
*/
public static function do($container, $lazyLoad = true)
{
trigger_deprecation('symfony/framework-bundle', '5.3', 'The "session" service and "SessionInterface" alias are deprecated, use "$requestStack->getSession()" instead.');
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/SessionBagInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Attribute/AttributeBagInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php';
include_once \dirname(__DIR__, 4).'/vendor/flagshipcompany/entities/src/Session/SessionRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/flagshipcompany/entities/src/RepositoryTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/flagshipcompany/entities/src/Session/SessionRepository.php';
return $container->services['session'] = new \Flagship\Components\Entities\Session\Session(($container->privates['session.storage.native'] ?? $container->load('getSession_Storage_NativeService')), new \Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag(), $container->load('getSession_FlashBagService'), new \Flagship\Components\Entities\Session\SessionRepository(($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService())));
}
}