/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
ContainerMYAo99x
/
Upload File
HOME
<?php namespace ContainerMYAo99x; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; use Symfony\Component\DependencyInjection\Exception\LogicException; use Symfony\Component\DependencyInjection\Exception\RuntimeException; use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; /* * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class App_KernelProdContainer extends Container { protected $containerDir; protected $targetDir; protected $parameters = []; private $buildParameters; protected $getService; public function __construct(array $buildParameters = [], $containerDir = __DIR__) { $this->getService = \Closure::fromCallable([$this, 'getService']); $this->buildParameters = $buildParameters; $this->containerDir = $containerDir; $this->targetDir = \dirname($containerDir); $this->parameters = $this->getDefaultParameters(); $this->services = $this->privates = []; $this->syntheticIds = [ 'kernel' => true, ]; $this->methodMap = [ 'doctrine' => 'getDoctrineService', 'event_dispatcher' => 'getEventDispatcherService', 'http_kernel' => 'getHttpKernelService', 'request_stack' => 'getRequestStackService', 'router' => 'getRouterService', 'security.authorization_checker' => 'getSecurity_AuthorizationCheckerService', 'security.token_storage' => 'getSecurity_TokenStorageService', ]; $this->fileMap = [ 'App\\Controller\\ApiController' => 'getApiControllerService', 'App\\Controller\\BillingController' => 'getBillingControllerService', 'App\\Controller\\Controller' => 'getControllerService', 'App\\Controller\\DefaultController' => 'getDefaultControllerService', 'App\\Controller\\InventoryController' => 'getInventoryControllerService', 'App\\Controller\\OrderController' => 'getOrderControllerService', 'App\\Controller\\StockController' => 'getStockControllerService', 'App\\Controller\\UserController' => 'getUserControllerService', 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController' => 'getRedirectControllerService', 'Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController' => 'getTemplateControllerService', 'cache.app' => 'getCache_AppService', 'cache.app_clearer' => 'getCache_AppClearerService', 'cache.global_clearer' => 'getCache_GlobalClearerService', 'cache.system' => 'getCache_SystemService', 'cache.system_clearer' => 'getCache_SystemClearerService', 'cache_clearer' => 'getCacheClearerService', 'cache_warmer' => 'getCacheWarmerService', 'console.command_loader' => 'getConsole_CommandLoaderService', 'container.env_var_processors_locator' => 'getContainer_EnvVarProcessorsLocatorService', 'doctrine.dbal.default_connection' => 'getDoctrine_Dbal_DefaultConnectionService', 'doctrine.orm.default_entity_manager' => 'getDoctrine_Orm_DefaultEntityManagerService', 'error_controller' => 'getErrorControllerService', 'filesystem' => 'getFilesystemService', 'form.factory' => 'getForm_FactoryService', 'form.type.file' => 'getForm_Type_FileService', 'routing.loader' => 'getRouting_LoaderService', 'security.authentication_utils' => 'getSecurity_AuthenticationUtilsService', 'security.csrf.token_manager' => 'getSecurity_Csrf_TokenManagerService', 'security.password_encoder' => 'getSecurity_PasswordEncoderService', 'serializer' => 'getSerializerService', 'services_resetter' => 'getServicesResetterService', 'session' => 'getSessionService', 'translator' => 'getTranslatorService', 'twig' => 'getTwigService', 'validator' => 'getValidatorService', ]; $this->aliases = [ 'database_connection' => 'doctrine.dbal.default_connection', 'doctrine.orm.entity_manager' => 'doctrine.orm.default_entity_manager', ]; $this->privates['service_container'] = function () { include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/HttpKernelInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/KernelInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/RebootableInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/TerminableInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Kernel.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php'; include_once \dirname(__DIR__, 4).'/src/Kernel.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/ControllerMetadata/ArgumentMetadataFactoryInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/ControllerMetadata/ArgumentMetadataFactory.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/event-dispatcher/EventSubscriberInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/ResponseListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/StreamedResponseListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/LocaleListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/ValidateRequestListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/ErrorListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php'; include_once \dirname(__DIR__, 4).'/vendor/psr/container/src/ContainerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php'; include_once \dirname(__DIR__, 4).'/vendor/psr/event-dispatcher/src/EventDispatcherInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/event-dispatcher/EventDispatcherInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/event-dispatcher/EventDispatcher.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/HttpKernel.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Controller/ControllerResolverInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Controller/ControllerResolver.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/ControllerResolver.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Controller/ArgumentResolverInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Controller/ArgumentResolver.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/RequestStack.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/config/ConfigCacheFactoryInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/LocaleAwareListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/SessionListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/service-contracts/ServiceProviderInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/service-contracts/ServiceLocatorTrait.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ServiceLocator.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php'; include_once \dirname(__DIR__, 4).'/vendor/psr/log/Psr/Log/LoggerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/ResettableInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Logger.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Log/DebugLoggerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/service-contracts/ResetInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/monolog-bridge/Logger.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/RequestContext.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/expression-language/ExpressionFunctionProviderInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/Matcher/ExpressionLanguageProvider.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/EventListener/RouterListener.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/web-link/EventListener/AddLinkHeaderListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/ControllerListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/expression-language/ExpressionLanguage.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DateTimeParamConverter.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/service-contracts/ServiceSubscriberInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Templating/TemplateGuesser.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/HttpCacheListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/ExpressionLanguage.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Security/ExpressionLanguage.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php'; include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ArgumentNameConverter.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/persistence/lib/Doctrine/Persistence/ConnectionRegistry.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/persistence/lib/Doctrine/Persistence/ManagerRegistry.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/persistence/lib/Doctrine/Persistence/AbstractManagerRegistry.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/doctrine-bridge/ManagerRegistry.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/doctrine-bundle/Registry.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/AuthorizationCheckerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/AuthorizationChecker.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/Token/Storage/TokenStorageInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/Token/Storage/TokenStorage.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/AuthenticationTrustResolverInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/AuthenticationTrustResolver.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/AccessDecisionManagerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/AccessDecisionManager.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Role/RoleHierarchyInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Role/RoleHierarchy.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/EventListener/FirewallListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/FirewallMapInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/Security/FirewallMap.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Logout/LogoutUrlGenerator.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/RememberMe/ResponseListener.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/AuthenticationManagerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authentication/AuthenticationProviderManager.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/HandlerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/Handler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FormattableHandlerInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerTrait.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FormattableHandlerTrait.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/monolog-bridge/Handler/FingersCrossed/NotFoundActivationStrategy.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/monolog-bridge/Handler/ConsoleHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/RequestContextAwareInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/Matcher/UrlMatcherInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/Generator/UrlGeneratorInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/RouterInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/Matcher/RequestMatcherInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/Router.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheWarmer/WarmableInterface.php'; include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Routing/Router.php'; include_once \dirname(__DIR__, 4).'/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php'; }; } public function compile(): void { throw new LogicException('You cannot compile a dumped container that was already compiled.'); } public function isCompiled(): bool { return true; } public function getRemovedIds(): array { return require $this->containerDir.\DIRECTORY_SEPARATOR.'removed-ids.php'; } protected function load($file, $lazyLoad = true) { if (class_exists($class = __NAMESPACE__.'\\'.$file, false)) { return $class::do($this, $lazyLoad); } if ('.' === $file[-4]) { $class = substr($class, 0, -4); } else { $file .= '.php'; } $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file; return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service; } protected function createProxy($class, \Closure $factory) { class_exists($class, false) || require __DIR__.'/'.$class.'.php'; return $factory(); } /* * Gets the public 'doctrine' shared service. * * @return \Doctrine\Bundle\DoctrineBundle\Registry */ protected function getDoctrineService() { return $this->services['doctrine'] = new \Doctrine\Bundle\DoctrineBundle\Registry($this, $this->parameters['doctrine.connections'], $this->parameters['doctrine.entity_managers'], 'default', 'default'); } /* * Gets the public 'event_dispatcher' shared service. * * @return \Symfony\Component\EventDispatcher\EventDispatcher */ protected function getEventDispatcherService() { $this->services['event_dispatcher'] = $instance = new \Symfony\Component\EventDispatcher\EventDispatcher(); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['response_listener'] ?? ($this->privates['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8'))); }, 1 => 'onKernelResponse'], 0); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['streamed_response_listener'] ?? ($this->privates['streamed_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener())); }, 1 => 'onKernelResponse'], -1024); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService()); }, 1 => 'setDefaultLocale'], 100); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService()); }, 1 => 'onKernelRequest'], 16); $instance->addListener('kernel.finish_request', [0 => function () { return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService()); }, 1 => 'onKernelFinishRequest'], 0); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['validate_request_listener'] ?? ($this->privates['validate_request_listener'] = new \Symfony\Component\HttpKernel\EventListener\ValidateRequestListener())); }, 1 => 'onKernelRequest'], 256); $instance->addListener('kernel.controller_arguments', [0 => function () { return ($this->privates['exception_listener'] ?? $this->getExceptionListenerService()); }, 1 => 'onControllerArguments'], 0); $instance->addListener('kernel.exception', [0 => function () { return ($this->privates['exception_listener'] ?? $this->getExceptionListenerService()); }, 1 => 'logKernelException'], 0); $instance->addListener('kernel.exception', [0 => function () { return ($this->privates['exception_listener'] ?? $this->getExceptionListenerService()); }, 1 => 'onKernelException'], -128); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['exception_listener'] ?? $this->getExceptionListenerService()); }, 1 => 'removeCspHeader'], -128); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['locale_aware_listener'] ?? $this->getLocaleAwareListenerService()); }, 1 => 'onKernelRequest'], 15); $instance->addListener('kernel.finish_request', [0 => function () { return ($this->privates['locale_aware_listener'] ?? $this->getLocaleAwareListenerService()); }, 1 => 'onKernelFinishRequest'], -15); $instance->addListener('console.error', [0 => function () { return ($this->privates['console.error_listener'] ?? $this->load('getConsole_ErrorListenerService')); }, 1 => 'onConsoleError'], -128); $instance->addListener('console.terminate', [0 => function () { return ($this->privates['console.error_listener'] ?? $this->load('getConsole_ErrorListenerService')); }, 1 => 'onConsoleTerminate'], -128); $instance->addListener('console.error', [0 => function () { return ($this->privates['console.suggest_missing_package_subscriber'] ?? ($this->privates['console.suggest_missing_package_subscriber'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SuggestMissingPackageSubscriber())); }, 1 => 'onConsoleError'], 0); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['session_listener'] ?? $this->getSessionListenerService()); }, 1 => 'onKernelRequest'], 128); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['session_listener'] ?? $this->getSessionListenerService()); }, 1 => 'onKernelResponse'], -1000); $instance->addListener('kernel.finish_request', [0 => function () { return ($this->privates['session_listener'] ?? $this->getSessionListenerService()); }, 1 => 'onFinishRequest'], 0); $instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [0 => function () { return ($this->privates['mailer.envelope_listener'] ?? ($this->privates['mailer.envelope_listener'] = new \Symfony\Component\Mailer\EventListener\EnvelopeListener(NULL, NULL))); }, 1 => 'onMessage'], -255); $instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [0 => function () { return ($this->privates['mailer.logger_message_listener'] ?? ($this->privates['mailer.logger_message_listener'] = new \Symfony\Component\Mailer\EventListener\MessageLoggerListener())); }, 1 => 'onMessage'], -255); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['debug.debug_handlers_listener'] ?? $this->getDebug_DebugHandlersListenerService()); }, 1 => 'configure'], 2048); $instance->addListener('console.command', [0 => function () { return ($this->privates['debug.debug_handlers_listener'] ?? $this->getDebug_DebugHandlersListenerService()); }, 1 => 'configure'], 2048); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['router_listener'] ?? $this->getRouterListenerService()); }, 1 => 'onKernelRequest'], 32); $instance->addListener('kernel.finish_request', [0 => function () { return ($this->privates['router_listener'] ?? $this->getRouterListenerService()); }, 1 => 'onKernelFinishRequest'], 0); $instance->addListener('kernel.exception', [0 => function () { return ($this->privates['router_listener'] ?? $this->getRouterListenerService()); }, 1 => 'onKernelException'], -64); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['web_link.add_link_header_listener'] ?? ($this->privates['web_link.add_link_header_listener'] = new \Symfony\Component\WebLink\EventListener\AddLinkHeaderListener())); }, 1 => 'onKernelResponse'], 0); $instance->addListener('kernel.controller', [0 => function () { return ($this->privates['sensio_framework_extra.controller.listener'] ?? $this->getSensioFrameworkExtra_Controller_ListenerService()); }, 1 => 'onKernelController'], 0); $instance->addListener('kernel.controller', [0 => function () { return ($this->privates['sensio_framework_extra.converter.listener'] ?? $this->getSensioFrameworkExtra_Converter_ListenerService()); }, 1 => 'onKernelController'], 0); $instance->addListener('kernel.controller', [0 => function () { return ($this->privates['sensio_framework_extra.view.listener'] ?? $this->getSensioFrameworkExtra_View_ListenerService()); }, 1 => 'onKernelController'], -128); $instance->addListener('kernel.view', [0 => function () { return ($this->privates['sensio_framework_extra.view.listener'] ?? $this->getSensioFrameworkExtra_View_ListenerService()); }, 1 => 'onKernelView'], 0); $instance->addListener('kernel.controller', [0 => function () { return ($this->privates['sensio_framework_extra.cache.listener'] ?? ($this->privates['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener())); }, 1 => 'onKernelController'], 0); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['sensio_framework_extra.cache.listener'] ?? ($this->privates['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener())); }, 1 => 'onKernelResponse'], 0); $instance->addListener('kernel.controller_arguments', [0 => function () { return ($this->privates['sensio_framework_extra.security.listener'] ?? $this->getSensioFrameworkExtra_Security_ListenerService()); }, 1 => 'onKernelControllerArguments'], 0); $instance->addListener('kernel.controller_arguments', [0 => function () { return ($this->privates['framework_extra_bundle.event.is_granted'] ?? $this->getFrameworkExtraBundle_Event_IsGrantedService()); }, 1 => 'onKernelControllerArguments'], 0); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['security.firewall'] ?? $this->getSecurity_FirewallService()); }, 1 => 'configureLogoutUrlGenerator'], 8); $instance->addListener('kernel.request', [0 => function () { return ($this->privates['security.firewall'] ?? $this->getSecurity_FirewallService()); }, 1 => 'onKernelRequest'], 8); $instance->addListener('kernel.finish_request', [0 => function () { return ($this->privates['security.firewall'] ?? $this->getSecurity_FirewallService()); }, 1 => 'onKernelFinishRequest'], 0); $instance->addListener('kernel.response', [0 => function () { return ($this->privates['security.rememberme.response_listener'] ?? ($this->privates['security.rememberme.response_listener'] = new \Symfony\Component\Security\Http\RememberMe\ResponseListener())); }, 1 => 'onKernelResponse'], 0); $instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [0 => function () { return ($this->privates['twig.mailer.message_listener'] ?? $this->load('getTwig_Mailer_MessageListenerService')); }, 1 => 'onMessage'], 0); $instance->addListener('console.command', [0 => function () { return ($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService()); }, 1 => 'onCommand'], 255); $instance->addListener('console.terminate', [0 => function () { return ($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService()); }, 1 => 'onTerminate'], -255); $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () { return ($this->privates['security.logout.listener.csrf_token_clearing'] ?? $this->load('getSecurity_Logout_Listener_CsrfTokenClearingService')); }, 1 => 'onLogout'], 0); return $instance; } /* * Gets the public 'http_kernel' shared service. * * @return \Symfony\Component\HttpKernel\HttpKernel */ protected function getHttpKernelService() { return $this->services['http_kernel'] = new \Symfony\Component\HttpKernel\HttpKernel(($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), new \Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver($this, ($this->privates['monolog.logger.request'] ?? $this->getMonolog_Logger_RequestService())), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), new \Symfony\Component\HttpKernel\Controller\ArgumentResolver(($this->privates['argument_metadata_factory'] ?? ($this->privates['argument_metadata_factory'] = new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory())), new RewindableGenerator(function () { yield 0 => ($this->privates['argument_resolver.request_attribute'] ?? ($this->privates['argument_resolver.request_attribute'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver())); yield 1 => ($this->privates['argument_resolver.request'] ?? ($this->privates['argument_resolver.request'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver())); yield 2 => ($this->privates['argument_resolver.session'] ?? ($this->privates['argument_resolver.session'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\SessionValueResolver())); yield 3 => ($this->privates['security.user_value_resolver'] ?? $this->load('getSecurity_UserValueResolverService')); yield 4 => ($this->privates['argument_resolver.service'] ?? $this->load('getArgumentResolver_ServiceService')); yield 5 => ($this->privates['argument_resolver.default'] ?? ($this->privates['argument_resolver.default'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver())); yield 6 => ($this->privates['argument_resolver.variadic'] ?? ($this->privates['argument_resolver.variadic'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\VariadicValueResolver())); }, 7))); } /* * Gets the public 'request_stack' shared service. * * @return \Symfony\Component\HttpFoundation\RequestStack */ protected function getRequestStackService() { return $this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack(); } /* * Gets the public 'router' shared service. * * @return \Symfony\Bundle\FrameworkBundle\Routing\Router */ protected function getRouterService() { $a = new \Symfony\Bridge\Monolog\Logger('router'); $a->pushHandler(($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService())); $a->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService())); $this->services['router'] = $instance = new \Symfony\Bundle\FrameworkBundle\Routing\Router((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'routing.loader' => ['services', 'routing.loader', 'getRouting_LoaderService', true], ], [ 'routing.loader' => 'Symfony\\Component\\Config\\Loader\\LoaderInterface', ]))->withContext('router.default', $this), 'kernel::loadRoutes', ['cache_dir' => $this->targetDir.'', 'debug' => false, 'generator_class' => 'Symfony\\Component\\Routing\\Generator\\CompiledUrlGenerator', 'generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\CompiledUrlGeneratorDumper', 'matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableCompiledUrlMatcher', 'matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\CompiledUrlMatcherDumper', 'strict_requirements' => NULL, 'resource_type' => 'service'], ($this->privates['router.request_context'] ?? $this->getRouter_RequestContextService()), ($this->privates['parameter_bag'] ?? ($this->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($this))), $a, 'en'); $instance->setConfigCacheFactory(($this->privates['config_cache_factory'] ?? ($this->privates['config_cache_factory'] = new \Symfony\Component\Config\ResourceCheckerConfigCacheFactory()))); $instance->addExpressionLanguageProvider(($this->privates['router.expression_language_provider'] ?? $this->getRouter_ExpressionLanguageProviderService())); return $instance; } /* * Gets the public 'security.authorization_checker' shared service. * * @return \Symfony\Component\Security\Core\Authorization\AuthorizationChecker */ protected function getSecurity_AuthorizationCheckerService() { return $this->services['security.authorization_checker'] = new \Symfony\Component\Security\Core\Authorization\AuthorizationChecker(($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->privates['security.authentication.manager'] ?? $this->getSecurity_Authentication_ManagerService()), ($this->privates['security.access.decision_manager'] ?? $this->getSecurity_Access_DecisionManagerService()), false); } /* * Gets the public 'security.token_storage' shared service. * * @return \Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage */ protected function getSecurity_TokenStorageService() { return $this->services['security.token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage(($this->privates['security.untracked_token_storage'] ?? ($this->privates['security.untracked_token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage())), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'session' => ['services', 'session', 'getSessionService', true], ], [ 'session' => '?', ])); } /* * Gets the private 'annotations.cached_reader' shared service. * * @return \Doctrine\Common\Annotations\CachedReader */ protected function getAnnotations_CachedReaderService() { return $this->privates['annotations.cached_reader'] = new \Doctrine\Common\Annotations\CachedReader(($this->privates['annotations.reader'] ?? $this->getAnnotations_ReaderService()), $this->load('getAnnotations_CacheService'), false); } /* * Gets the private 'annotations.reader' shared service. * * @return \Doctrine\Common\Annotations\AnnotationReader */ protected function getAnnotations_ReaderService() { $this->privates['annotations.reader'] = $instance = new \Doctrine\Common\Annotations\AnnotationReader(); $a = new \Doctrine\Common\Annotations\AnnotationRegistry(); $a->registerUniqueLoader('class_exists'); $instance->addGlobalIgnoredName('required', $a); return $instance; } /* * Gets the private 'debug.debug_handlers_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener */ protected function getDebug_DebugHandlersListenerService() { $a = new \Symfony\Bridge\Monolog\Logger('php'); $a->pushHandler(($this->privates['monolog.handler.deprecation_filter'] ?? $this->getMonolog_Handler_DeprecationFilterService())); $a->pushHandler(($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService())); $a->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService())); return $this->privates['debug.debug_handlers_listener'] = new \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener(NULL, $a, NULL, 0, false, ($this->privates['debug.file_link_formatter'] ?? ($this->privates['debug.file_link_formatter'] = new \Symfony\Component\HttpKernel\Debug\FileLinkFormatter(NULL))), false, NULL); } /* * Gets the private 'exception_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\ErrorListener */ protected function getExceptionListenerService() { return $this->privates['exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ErrorListener('error_controller', ($this->privates['monolog.logger.request'] ?? $this->getMonolog_Logger_RequestService()), false); } /* * Gets the private 'framework_extra_bundle.argument_name_convertor' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\Request\ArgumentNameConverter */ protected function getFrameworkExtraBundle_ArgumentNameConvertorService() { return $this->privates['framework_extra_bundle.argument_name_convertor'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ArgumentNameConverter(($this->privates['argument_metadata_factory'] ?? ($this->privates['argument_metadata_factory'] = new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory()))); } /* * Gets the private 'framework_extra_bundle.event.is_granted' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener */ protected function getFrameworkExtraBundle_Event_IsGrantedService() { return $this->privates['framework_extra_bundle.event.is_granted'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener(($this->privates['framework_extra_bundle.argument_name_convertor'] ?? $this->getFrameworkExtraBundle_ArgumentNameConvertorService()), ($this->services['security.authorization_checker'] ?? $this->getSecurity_AuthorizationCheckerService())); } /* * Gets the private 'locale_aware_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\LocaleAwareListener */ protected function getLocaleAwareListenerService() { return $this->privates['locale_aware_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleAwareListener(new RewindableGenerator(function () { yield 0 => ($this->privates['slugger'] ?? ($this->privates['slugger'] = new \Symfony\Component\String\Slugger\AsciiSlugger('en'))); yield 1 => ($this->services['translator'] ?? $this->load('getTranslatorService')); }, 2), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack()))); } /* * Gets the private 'locale_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\LocaleListener */ protected function getLocaleListenerService() { return $this->privates['locale_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleListener(($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), 'en', ($this->services['router'] ?? $this->getRouterService())); } /* * Gets the private 'monolog.handler.console' shared service. * * @return \Symfony\Bridge\Monolog\Handler\ConsoleHandler */ protected function getMonolog_Handler_ConsoleService() { return $this->privates['monolog.handler.console'] = new \Symfony\Bridge\Monolog\Handler\ConsoleHandler(NULL, true, [], []); } /* * Gets the private 'monolog.handler.deprecation' shared service. * * @return \Monolog\Handler\StreamHandler */ protected function getMonolog_Handler_DeprecationService() { $this->privates['monolog.handler.deprecation'] = $instance = new \Monolog\Handler\StreamHandler((\dirname(__DIR__, 3).'/log/prod.deprecations.log'), 100, true, NULL, false); $instance->pushProcessor(($this->privates['monolog.processor.psr_log_message'] ?? ($this->privates['monolog.processor.psr_log_message'] = new \Monolog\Processor\PsrLogMessageProcessor()))); return $instance; } /* * Gets the private 'monolog.handler.deprecation_filter' shared service. * * @return \Monolog\Handler\FilterHandler */ protected function getMonolog_Handler_DeprecationFilterService() { return $this->privates['monolog.handler.deprecation_filter'] = new \Monolog\Handler\FilterHandler(($this->privates['monolog.handler.deprecation'] ?? $this->getMonolog_Handler_DeprecationService()), 100, 200, true); } /* * Gets the private 'monolog.handler.main' shared service. * * @return \Monolog\Handler\FingersCrossedHandler */ protected function getMonolog_Handler_MainService() { $a = new \Monolog\Handler\StreamHandler((\dirname(__DIR__, 3).'/log/prod.log'), 100, true, NULL, false); $a->pushProcessor(($this->privates['monolog.processor.psr_log_message'] ?? ($this->privates['monolog.processor.psr_log_message'] = new \Monolog\Processor\PsrLogMessageProcessor()))); return $this->privates['monolog.handler.main'] = new \Monolog\Handler\FingersCrossedHandler($a, new \Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy(($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), [0 => '^/'], 400), 0, true, true, NULL); } /* * Gets the private 'monolog.logger' shared service. * * @return \Symfony\Bridge\Monolog\Logger */ protected function getMonolog_LoggerService() { $this->privates['monolog.logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app'); $instance->useMicrosecondTimestamps(true); $instance->pushHandler(($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService())); $instance->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService())); return $instance; } /* * Gets the private 'monolog.logger.request' shared service. * * @return \Symfony\Bridge\Monolog\Logger */ protected function getMonolog_Logger_RequestService() { $this->privates['monolog.logger.request'] = $instance = new \Symfony\Bridge\Monolog\Logger('request'); $instance->pushHandler(($this->privates['monolog.handler.console'] ?? $this->getMonolog_Handler_ConsoleService())); $instance->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService())); return $instance; } /* * Gets the private 'parameter_bag' shared service. * * @return \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag */ protected function getParameterBagService() { return $this->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($this); } /* * Gets the private 'router.expression_language_provider' shared service. * * @return \Symfony\Component\Routing\Matcher\ExpressionLanguageProvider */ protected function getRouter_ExpressionLanguageProviderService() { return $this->privates['router.expression_language_provider'] = new \Symfony\Component\Routing\Matcher\ExpressionLanguageProvider(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'env' => ['privates', 'container.getenv', 'getContainer_GetenvService', true], ], [ 'env' => 'Closure', ])); } /* * Gets the private 'router.request_context' shared service. * * @return \Symfony\Component\Routing\RequestContext */ protected function getRouter_RequestContextService() { $this->privates['router.request_context'] = $instance = \Symfony\Component\Routing\RequestContext::fromUri('', 'localhost', 'http', 80, 443); $instance->setParameter('_functions', ($this->privates['router.expression_language_provider'] ?? $this->getRouter_ExpressionLanguageProviderService())); return $instance; } /* * Gets the private 'router_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\RouterListener */ protected function getRouterListenerService() { return $this->privates['router_listener'] = new \Symfony\Component\HttpKernel\EventListener\RouterListener(($this->services['router'] ?? $this->getRouterService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), ($this->privates['router.request_context'] ?? $this->getRouter_RequestContextService()), ($this->privates['monolog.logger.request'] ?? $this->getMonolog_Logger_RequestService()), \dirname(__DIR__, 4), false); } /* * Gets the private 'security.access.decision_manager' shared service. * * @return \Symfony\Component\Security\Core\Authorization\AccessDecisionManager */ protected function getSecurity_Access_DecisionManagerService() { return $this->privates['security.access.decision_manager'] = new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(new RewindableGenerator(function () { yield 0 => ($this->privates['security.access.authenticated_voter'] ?? $this->load('getSecurity_Access_AuthenticatedVoterService')); yield 1 => ($this->privates['security.access.simple_role_voter'] ?? ($this->privates['security.access.simple_role_voter'] = new \Symfony\Component\Security\Core\Authorization\Voter\RoleVoter())); yield 2 => ($this->privates['security.access.expression_voter'] ?? $this->load('getSecurity_Access_ExpressionVoterService')); }, 3), 'affirmative', false, true); } /* * Gets the private 'security.authentication.manager' shared service. * * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager */ protected function getSecurity_Authentication_ManagerService() { $this->privates['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(new RewindableGenerator(function () { yield 0 => ($this->privates['security.authentication.provider.guard.main'] ?? $this->load('getSecurity_Authentication_Provider_Guard_MainService')); yield 1 => ($this->privates['security.authentication.provider.rememberme.main'] ?? $this->load('getSecurity_Authentication_Provider_Rememberme_MainService')); yield 2 => ($this->privates['security.authentication.provider.anonymous.main'] ?? ($this->privates['security.authentication.provider.anonymous.main'] = new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider($this->getParameter('container.build_hash')))); }, 3), true); $instance->setEventDispatcher(($this->services['event_dispatcher'] ?? $this->getEventDispatcherService())); return $instance; } /* * Gets the private 'security.firewall' shared service. * * @return \Symfony\Bundle\SecurityBundle\EventListener\FirewallListener */ protected function getSecurity_FirewallService() { return $this->privates['security.firewall'] = new \Symfony\Bundle\SecurityBundle\EventListener\FirewallListener(new \Symfony\Bundle\SecurityBundle\Security\FirewallMap(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'security.firewall.map.context.dev' => ['privates', 'security.firewall.map.context.dev', 'getSecurity_Firewall_Map_Context_DevService', true], 'security.firewall.map.context.main' => ['privates', 'security.firewall.map.context.main', 'getSecurity_Firewall_Map_Context_MainService', true], ], [ 'security.firewall.map.context.dev' => '?', 'security.firewall.map.context.main' => '?', ]), new RewindableGenerator(function () { yield 'security.firewall.map.context.dev' => ($this->privates['.security.request_matcher.Iy.T22O'] ?? ($this->privates['.security.request_matcher.Iy.T22O'] = new \Symfony\Component\HttpFoundation\RequestMatcher('^/(_(profiler|wdt)|css|images|js)/'))); yield 'security.firewall.map.context.main' => NULL; }, 2)), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), ($this->privates['security.logout_url_generator'] ?? $this->getSecurity_LogoutUrlGeneratorService())); } /* * Gets the private 'security.logout_url_generator' shared service. * * @return \Symfony\Component\Security\Http\Logout\LogoutUrlGenerator */ protected function getSecurity_LogoutUrlGeneratorService() { $this->privates['security.logout_url_generator'] = $instance = new \Symfony\Component\Security\Http\Logout\LogoutUrlGenerator(($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), ($this->services['router'] ?? $this->getRouterService()), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService())); $instance->registerListener('main', 'app_logout', 'logout', '_csrf_token', NULL, NULL); return $instance; } /* * Gets the private 'sensio_framework_extra.controller.listener' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener */ protected function getSensioFrameworkExtra_Controller_ListenerService() { return $this->privates['sensio_framework_extra.controller.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener(($this->privates['annotations.cached_reader'] ?? $this->getAnnotations_CachedReaderService())); } /* * Gets the private 'sensio_framework_extra.converter.listener' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener */ protected function getSensioFrameworkExtra_Converter_ListenerService() { $a = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager(); $a->add(new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter(($this->services['doctrine'] ?? $this->getDoctrineService()), new \Symfony\Component\ExpressionLanguage\ExpressionLanguage()), 0, 'doctrine.orm'); $a->add(new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter(), 0, 'datetime'); return $this->privates['sensio_framework_extra.converter.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener($a, true); } /* * Gets the private 'sensio_framework_extra.security.listener' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener */ protected function getSensioFrameworkExtra_Security_ListenerService() { return $this->privates['sensio_framework_extra.security.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener(($this->privates['framework_extra_bundle.argument_name_convertor'] ?? $this->getFrameworkExtraBundle_ArgumentNameConvertorService()), new \Sensio\Bundle\FrameworkExtraBundle\Security\ExpressionLanguage(), ($this->privates['security.authentication.trust_resolver'] ?? ($this->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), ($this->privates['security.role_hierarchy'] ?? ($this->privates['security.role_hierarchy'] = new \Symfony\Component\Security\Core\Role\RoleHierarchy([]))), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['security.authorization_checker'] ?? $this->getSecurity_AuthorizationCheckerService()), ($this->privates['monolog.logger'] ?? $this->getMonolog_LoggerService())); } /* * Gets the private 'sensio_framework_extra.view.listener' shared service. * * @return \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener */ protected function getSensioFrameworkExtra_View_ListenerService() { $this->privates['sensio_framework_extra.view.listener'] = $instance = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener(new \Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser(($this->services['kernel'] ?? $this->get('kernel', 1)))); $instance->setContainer((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'twig' => ['services', 'twig', 'getTwigService', true], ], [ 'twig' => 'Twig\\Environment', ]))->withContext('sensio_framework_extra.view.listener', $this)); return $instance; } /* * Gets the private 'session_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\SessionListener */ protected function getSessionListenerService() { return $this->privates['session_listener'] = new \Symfony\Component\HttpKernel\EventListener\SessionListener(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [ 'initialized_session' => ['services', 'session', NULL, true], 'logger' => ['privates', 'monolog.logger', 'getMonolog_LoggerService', false], 'request_stack' => ['services', 'request_stack', 'getRequestStackService', false], 'session' => ['services', 'session', 'getSessionService', true], 'session_storage' => ['privates', 'session.storage.native', 'getSession_Storage_NativeService', true], ], [ 'initialized_session' => '?', 'logger' => '?', 'request_stack' => '?', 'session' => '?', 'session_storage' => '?', ]), false); } /** * @return array|bool|float|int|string|null */ public function getParameter(string $name) { if (isset($this->buildParameters[$name])) { return $this->buildParameters[$name]; } if (!(isset($this->parameters[$name]) || isset($this->loadedDynamicParameters[$name]) || \array_key_exists($name, $this->parameters))) { throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name)); } if (isset($this->loadedDynamicParameters[$name])) { return $this->loadedDynamicParameters[$name] ? $this->dynamicParameters[$name] : $this->getDynamicParameter($name); } return $this->parameters[$name]; } public function hasParameter(string $name): bool { if (isset($this->buildParameters[$name])) { return true; } return isset($this->parameters[$name]) || isset($this->loadedDynamicParameters[$name]) || \array_key_exists($name, $this->parameters); } public function setParameter(string $name, $value): void { throw new LogicException('Impossible to call set() on a frozen ParameterBag.'); } public function getParameterBag(): ParameterBagInterface { if (null === $this->parameterBag) { $parameters = $this->parameters; foreach ($this->loadedDynamicParameters as $name => $loaded) { $parameters[$name] = $loaded ? $this->dynamicParameters[$name] : $this->getDynamicParameter($name); } foreach ($this->buildParameters as $name => $value) { $parameters[$name] = $value; } $this->parameterBag = new FrozenParameterBag($parameters); } return $this->parameterBag; } private $loadedDynamicParameters = [ 'kernel.cache_dir' => false, 'mailgun_key' => false, 'mailgun_domain' => false, 'kernel.secret' => false, 'session.save_path' => false, 'validator.mapping.cache.file' => false, 'serializer.mapping.cache.file' => false, 'doctrine.orm.proxy_dir' => false, ]; private $dynamicParameters = []; private function getDynamicParameter(string $name) { switch ($name) { case 'kernel.cache_dir': $value = $this->targetDir.''; break; case 'mailgun_key': $value = $this->getEnv('MAILGUN_KEY'); break; case 'mailgun_domain': $value = $this->getEnv('MAILGUN_DOMAIN'); break; case 'kernel.secret': $value = $this->getEnv('APP_SECRET'); break; case 'session.save_path': $value = ($this->targetDir.''.'/sessions'); break; case 'validator.mapping.cache.file': $value = ($this->targetDir.''.'/validation.php'); break; case 'serializer.mapping.cache.file': $value = ($this->targetDir.''.'/serialization.php'); break; case 'doctrine.orm.proxy_dir': $value = ($this->targetDir.''.'/doctrine/orm/Proxies'); break; default: throw new InvalidArgumentException(sprintf('The dynamic parameter "%s" must be defined.', $name)); } $this->loadedDynamicParameters[$name] = true; return $this->dynamicParameters[$name] = $value; } protected function getDefaultParameters(): array { return [ 'kernel.project_dir' => \dirname(__DIR__, 4), 'kernel.environment' => 'prod', 'kernel.debug' => false, 'kernel.logs_dir' => (\dirname(__DIR__, 3).'/log'), 'kernel.bundles' => [ 'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle', 'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle', 'DoctrineBundle' => 'Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle', 'SecurityBundle' => 'Symfony\\Bundle\\SecurityBundle\\SecurityBundle', 'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle', 'MonologBundle' => 'Symfony\\Bundle\\MonologBundle\\MonologBundle', 'DoctrineMigrationsBundle' => 'Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle', 'TwigExtraBundle' => 'Twig\\Extra\\TwigExtraBundle\\TwigExtraBundle', ], 'kernel.bundles_metadata' => [ 'FrameworkBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/symfony/framework-bundle'), 'namespace' => 'Symfony\\Bundle\\FrameworkBundle', ], 'SensioFrameworkExtraBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src'), 'namespace' => 'Sensio\\Bundle\\FrameworkExtraBundle', ], 'DoctrineBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/doctrine/doctrine-bundle'), 'namespace' => 'Doctrine\\Bundle\\DoctrineBundle', ], 'SecurityBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/symfony/security-bundle'), 'namespace' => 'Symfony\\Bundle\\SecurityBundle', ], 'TwigBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/symfony/twig-bundle'), 'namespace' => 'Symfony\\Bundle\\TwigBundle', ], 'MonologBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/symfony/monolog-bundle'), 'namespace' => 'Symfony\\Bundle\\MonologBundle', ], 'DoctrineMigrationsBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/doctrine/doctrine-migrations-bundle'), 'namespace' => 'Doctrine\\Bundle\\MigrationsBundle', ], 'TwigExtraBundle' => [ 'path' => (\dirname(__DIR__, 4).'/vendor/twig/extra-bundle'), 'namespace' => 'Twig\\Extra\\TwigExtraBundle', ], ], 'kernel.charset' => 'UTF-8', 'kernel.container_class' => 'App_KernelProdContainer', 'container.dumper.inline_class_loader' => true, 'env(DATABASE_URL)' => '', 'locale' => 'en', 'event_dispatcher.event_aliases' => [ 'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => 'console.command', 'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => 'console.error', 'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => 'console.terminate', 'Symfony\\Component\\Form\\Event\\PreSubmitEvent' => 'form.pre_submit', 'Symfony\\Component\\Form\\Event\\SubmitEvent' => 'form.submit', 'Symfony\\Component\\Form\\Event\\PostSubmitEvent' => 'form.post_submit', 'Symfony\\Component\\Form\\Event\\PreSetDataEvent' => 'form.pre_set_data', 'Symfony\\Component\\Form\\Event\\PostSetDataEvent' => 'form.post_set_data', 'Symfony\\Component\\HttpKernel\\Event\\ControllerArgumentsEvent' => 'kernel.controller_arguments', 'Symfony\\Component\\HttpKernel\\Event\\ControllerEvent' => 'kernel.controller', 'Symfony\\Component\\HttpKernel\\Event\\ResponseEvent' => 'kernel.response', 'Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent' => 'kernel.finish_request', 'Symfony\\Component\\HttpKernel\\Event\\RequestEvent' => 'kernel.request', 'Symfony\\Component\\HttpKernel\\Event\\ViewEvent' => 'kernel.view', 'Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent' => 'kernel.exception', 'Symfony\\Component\\HttpKernel\\Event\\TerminateEvent' => 'kernel.terminate', 'Symfony\\Component\\Workflow\\Event\\GuardEvent' => 'workflow.guard', 'Symfony\\Component\\Workflow\\Event\\LeaveEvent' => 'workflow.leave', 'Symfony\\Component\\Workflow\\Event\\TransitionEvent' => 'workflow.transition', 'Symfony\\Component\\Workflow\\Event\\EnterEvent' => 'workflow.enter', 'Symfony\\Component\\Workflow\\Event\\EnteredEvent' => 'workflow.entered', 'Symfony\\Component\\Workflow\\Event\\CompletedEvent' => 'workflow.completed', 'Symfony\\Component\\Workflow\\Event\\AnnounceEvent' => 'workflow.announce', 'Symfony\\Component\\Security\\Core\\Event\\AuthenticationSuccessEvent' => 'security.authentication.success', 'Symfony\\Component\\Security\\Core\\Event\\AuthenticationFailureEvent' => 'security.authentication.failure', 'Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent' => 'security.interactive_login', 'Symfony\\Component\\Security\\Http\\Event\\SwitchUserEvent' => 'security.switch_user', ], 'fragment.renderer.hinclude.global_template' => '', 'fragment.path' => '/_fragment', 'kernel.http_method_override' => true, 'kernel.trusted_hosts' => [ ], 'kernel.default_locale' => 'en', 'kernel.error_controller' => 'error_controller', 'debug.file_link_format' => NULL, 'session.metadata.storage_key' => '_sf2_meta', 'session.storage.options' => [ 'cache_limiter' => '0', 'cookie_secure' => 'auto', 'cookie_httponly' => true, 'cookie_samesite' => 'lax', 'gc_probability' => 1, ], 'session.metadata.update_threshold' => 0, 'form.type_extension.csrf.enabled' => true, 'form.type_extension.csrf.field_name' => '_token', 'asset.request_context.base_path' => NULL, 'asset.request_context.secure' => NULL, 'validator.translation_domain' => 'validators', 'translator.logging' => false, 'translator.default_path' => (\dirname(__DIR__, 4).'/translations'), 'data_collector.templates' => [ ], 'debug.error_handler.throw_at' => 0, 'router.request_context.host' => 'localhost', 'router.request_context.scheme' => 'http', 'router.request_context.base_url' => '', 'router.resource' => 'kernel::loadRoutes', 'request_listener.http_port' => 80, 'request_listener.https_port' => 443, 'doctrine.dbal.logger.chain.class' => 'Doctrine\\DBAL\\Logging\\LoggerChain', 'doctrine.dbal.logger.profiling.class' => 'Doctrine\\DBAL\\Logging\\DebugStack', 'doctrine.dbal.logger.class' => 'Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger', 'doctrine.dbal.configuration.class' => 'Doctrine\\DBAL\\Configuration', 'doctrine.data_collector.class' => 'Doctrine\\Bundle\\DoctrineBundle\\DataCollector\\DoctrineDataCollector', 'doctrine.dbal.connection.event_manager.class' => 'Symfony\\Bridge\\Doctrine\\ContainerAwareEventManager', 'doctrine.dbal.connection_factory.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ConnectionFactory', 'doctrine.dbal.events.mysql_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\MysqlSessionInit', 'doctrine.dbal.events.oracle_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\OracleSessionInit', 'doctrine.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Registry', 'doctrine.entity_managers' => [ 'default' => 'doctrine.orm.default_entity_manager', ], 'doctrine.default_entity_manager' => 'default', 'doctrine.dbal.connection_factory.types' => [ ], 'doctrine.connections' => [ 'default' => 'doctrine.dbal.default_connection', ], 'doctrine.default_connection' => 'default', 'doctrine.orm.configuration.class' => 'Doctrine\\ORM\\Configuration', 'doctrine.orm.entity_manager.class' => 'Doctrine\\ORM\\EntityManager', 'doctrine.orm.manager_configurator.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ManagerConfigurator', 'doctrine.orm.cache.array.class' => 'Doctrine\\Common\\Cache\\ArrayCache', 'doctrine.orm.cache.apc.class' => 'Doctrine\\Common\\Cache\\ApcCache', 'doctrine.orm.cache.memcache.class' => 'Doctrine\\Common\\Cache\\MemcacheCache', 'doctrine.orm.cache.memcache_host' => 'localhost', 'doctrine.orm.cache.memcache_port' => 11211, 'doctrine.orm.cache.memcache_instance.class' => 'Memcache', 'doctrine.orm.cache.memcached.class' => 'Doctrine\\Common\\Cache\\MemcachedCache', 'doctrine.orm.cache.memcached_host' => 'localhost', 'doctrine.orm.cache.memcached_port' => 11211, 'doctrine.orm.cache.memcached_instance.class' => 'Memcached', 'doctrine.orm.cache.redis.class' => 'Doctrine\\Common\\Cache\\RedisCache', 'doctrine.orm.cache.redis_host' => 'localhost', 'doctrine.orm.cache.redis_port' => 6379, 'doctrine.orm.cache.redis_instance.class' => 'Redis', 'doctrine.orm.cache.xcache.class' => 'Doctrine\\Common\\Cache\\XcacheCache', 'doctrine.orm.cache.wincache.class' => 'Doctrine\\Common\\Cache\\WinCacheCache', 'doctrine.orm.cache.zenddata.class' => 'Doctrine\\Common\\Cache\\ZendDataCache', 'doctrine.orm.metadata.driver_chain.class' => 'Doctrine\\Persistence\\Mapping\\Driver\\MappingDriverChain', 'doctrine.orm.metadata.annotation.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver', 'doctrine.orm.metadata.xml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedXmlDriver', 'doctrine.orm.metadata.yml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedYamlDriver', 'doctrine.orm.metadata.php.class' => 'Doctrine\\ORM\\Mapping\\Driver\\PHPDriver', 'doctrine.orm.metadata.staticphp.class' => 'Doctrine\\ORM\\Mapping\\Driver\\StaticPHPDriver', 'doctrine.orm.proxy_cache_warmer.class' => 'Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer', 'form.type_guesser.doctrine.class' => 'Symfony\\Bridge\\Doctrine\\Form\\DoctrineOrmTypeGuesser', 'doctrine.orm.validator.unique.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntityValidator', 'doctrine.orm.validator_initializer.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\DoctrineInitializer', 'doctrine.orm.security.user.provider.class' => 'Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider', 'doctrine.orm.listeners.resolve_target_entity.class' => 'Doctrine\\ORM\\Tools\\ResolveTargetEntityListener', 'doctrine.orm.listeners.attach_entity_listeners.class' => 'Doctrine\\ORM\\Tools\\AttachEntityListenersListener', 'doctrine.orm.naming_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultNamingStrategy', 'doctrine.orm.naming_strategy.underscore.class' => 'Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy', 'doctrine.orm.quote_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultQuoteStrategy', 'doctrine.orm.quote_strategy.ansi.class' => 'Doctrine\\ORM\\Mapping\\AnsiQuoteStrategy', 'doctrine.orm.entity_listener_resolver.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Mapping\\ContainerEntityListenerResolver', 'doctrine.orm.second_level_cache.default_cache_factory.class' => 'Doctrine\\ORM\\Cache\\DefaultCacheFactory', 'doctrine.orm.second_level_cache.default_region.class' => 'Doctrine\\ORM\\Cache\\Region\\DefaultRegion', 'doctrine.orm.second_level_cache.filelock_region.class' => 'Doctrine\\ORM\\Cache\\Region\\FileLockRegion', 'doctrine.orm.second_level_cache.logger_chain.class' => 'Doctrine\\ORM\\Cache\\Logging\\CacheLoggerChain', 'doctrine.orm.second_level_cache.logger_statistics.class' => 'Doctrine\\ORM\\Cache\\Logging\\StatisticsCacheLogger', 'doctrine.orm.second_level_cache.cache_configuration.class' => 'Doctrine\\ORM\\Cache\\CacheConfiguration', 'doctrine.orm.second_level_cache.regions_configuration.class' => 'Doctrine\\ORM\\Cache\\RegionsConfiguration', 'doctrine.orm.auto_generate_proxy_classes' => false, 'doctrine.orm.proxy_namespace' => 'Proxies', 'security.role_hierarchy.roles' => [ ], 'security.access.denied_url' => NULL, 'security.authentication.manager.erase_credentials' => true, 'security.authentication.session_strategy.strategy' => 'migrate', 'security.access.always_authenticate_before_granting' => false, 'security.authentication.hide_user_not_found' => true, 'security.firewalls' => [ 0 => 'dev', 1 => 'main', ], 'twig.form.resources' => [ 0 => 'form_div_layout.html.twig', 1 => 'bootstrap_4_layout.html.twig', ], 'twig.default_path' => (\dirname(__DIR__, 4).'/templates'), 'monolog.use_microseconds' => true, 'monolog.swift_mailer.handlers' => [ ], 'monolog.handlers_to_channels' => [ 'monolog.handler.deprecation_filter' => [ 'type' => 'inclusive', 'elements' => [ 0 => 'php', ], ], 'monolog.handler.console' => [ 'type' => 'exclusive', 'elements' => [ 0 => 'event', 1 => 'doctrine', ], ], 'monolog.handler.main' => NULL, ], 'doctrine.migrations.preferred_em' => NULL, 'doctrine.migrations.preferred_connection' => NULL, 'console.command.ids' => [ ], ]; } protected function throw($message) { throw new RuntimeException($message); } }