visualization/visualizer/var/cache/dev/Container87HTByt/App_KernelDevDebugContainer.php
Julius Herrmann 40ae8de197 intitial init
2021-06-13 23:00:07 +02:00

764 lines
45 KiB
PHP

<?php
namespace Container87HTByt;
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_KernelDevDebugContainer 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 = [
'event_dispatcher' => 'getEventDispatcherService',
'http_kernel' => 'getHttpKernelService',
'request_stack' => 'getRequestStackService',
'router' => 'getRouterService',
'cache_clearer' => 'getCacheClearerService',
'filesystem' => 'getFilesystemService',
'twig' => 'getTwigService',
];
$this->fileMap = [
'.container.private.cache_clearer' => 'get_Container_Private_CacheClearerService',
'.container.private.filesystem' => 'get_Container_Private_FilesystemService',
'.container.private.twig' => 'get_Container_Private_TwigService',
'App\\Controller\\MainController' => 'getMainControllerService',
'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_warmer' => 'getCacheWarmerService',
'console.command_loader' => 'getConsole_CommandLoaderService',
'container.env_var_processors_locator' => 'getContainer_EnvVarProcessorsLocatorService',
'error_controller' => 'getErrorControllerService',
'routing.loader' => 'getRouting_LoaderService',
'services_resetter' => 'getServicesResetterService',
'session' => 'getSessionService',
];
$this->aliases = [
'App\\Kernel' => 'kernel',
];
$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/DisallowRobotsIndexingListener.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/runtime/RunnerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/runtime/Runner/Symfony/ResponseRunner.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/runtime/RuntimeInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/runtime/GenericRuntime.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/runtime/SymfonyRuntime.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/http-kernel/EventListener/LocaleAwareListener.php';
include_once \dirname(__DIR__, 4).'/vendor/psr/cache/src/CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Adapter/AdapterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache-contracts/CacheInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/psr/log/Psr/Log/LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/service-contracts/ResetInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/ResettableInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/psr/log/Psr/Log/LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Traits/AbstractAdapterTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache-contracts/CacheTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Traits/ContractsTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Adapter/AbstractAdapter.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/symfony/http-kernel/Debug/FileLinkFormatter.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/routing/RequestContext.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/cache/PruneableInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Traits/ProxyTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/cache/Adapter/PhpArrayAdapter.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/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/IsGrantedListener.php';
include_once \dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src/Request/ArgumentNameConverter.php';
include_once \dirname(__DIR__, 4).'/vendor/psr/log/Psr/Log/LoggerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/psr/log/Psr/Log/AbstractLogger.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/Log/Logger.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/symfony/config/ConfigCacheFactoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php';
include_once \dirname(__DIR__, 4).'/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/PsrCachedReader.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;
}
/**
* 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.response', [0 => function () {
return ($this->privates['disallow_search_engine_index_response_listener'] ?? ($this->privates['disallow_search_engine_index_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener()));
}, 1 => 'onResponse'], -255);
$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('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('console.error', [0 => function () {
return ($this->privates['maker.console_error_listener'] ?? ($this->privates['maker.console_error_listener'] = new \Symfony\Bundle\MakerBundle\Event\ConsoleErrorSubscriber()));
}, 1 => 'onConsoleError'], 0);
$instance->addListener('console.terminate', [0 => function () {
return ($this->privates['maker.console_error_listener'] ?? ($this->privates['maker.console_error_listener'] = new \Symfony\Bundle\MakerBundle\Event\ConsoleErrorSubscriber()));
}, 1 => 'onConsoleTerminate'], 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['framework_extra_bundle.event.is_granted'] ?? $this->getFrameworkExtraBundle_Event_IsGrantedService());
}, 1 => 'onKernelControllerArguments'], 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['logger'] ?? ($this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger()))), ($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['argument_resolver.service'] ?? $this->load('getArgumentResolver_ServiceService'));
yield 4 => ($this->privates['argument_resolver.default'] ?? ($this->privates['argument_resolver.default'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver()));
yield 5 => ($this->privates['argument_resolver.variadic'] ?? ($this->privates['argument_resolver.variadic'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\VariadicValueResolver()));
}, 6)));
}
/**
* 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()
{
$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' => true, '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' => true, '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))), ($this->privates['logger'] ?? ($this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger())), 'en');
$instance->setConfigCacheFactory(new \Symfony\Component\Config\ResourceCheckerConfigCacheFactory(new RewindableGenerator(function () {
yield 0 => ($this->privates['dependency_injection.config.container_parameters_resource_checker'] ?? ($this->privates['dependency_injection.config.container_parameters_resource_checker'] = new \Symfony\Component\DependencyInjection\Config\ContainerParametersResourceChecker($this)));
yield 1 => ($this->privates['config.resource.self_checking_resource_checker'] ?? ($this->privates['config.resource.self_checking_resource_checker'] = new \Symfony\Component\Config\Resource\SelfCheckingResourceChecker()));
}, 2)));
return $instance;
}
/**
* Gets the private 'annotations.cache_adapter' shared service.
*
* @return \Symfony\Component\Cache\Adapter\PhpArrayAdapter
*/
protected function getAnnotations_CacheAdapterService()
{
return \Symfony\Component\Cache\Adapter\PhpArrayAdapter::create(($this->targetDir.''.'/annotations.php'), ($this->privates['cache.annotations'] ?? $this->getCache_AnnotationsService()));
}
/**
* Gets the private 'annotations.cached_reader' shared service.
*
* @return \Doctrine\Common\Annotations\PsrCachedReader
*/
protected function getAnnotations_CachedReaderService()
{
return $this->privates['annotations.cached_reader'] = new \Doctrine\Common\Annotations\PsrCachedReader(($this->privates['annotations.reader'] ?? $this->getAnnotations_ReaderService()), $this->getAnnotations_CacheAdapterService(), true);
}
/**
* 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 'cache.annotations' shared service.
*
* @return \Symfony\Component\Cache\Adapter\AdapterInterface
*/
protected function getCache_AnnotationsService()
{
return $this->privates['cache.annotations'] = \Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache('L0V1dtJHjC', 0, $this->getParameter('container.build_id'), ($this->targetDir.''.'/pools'), ($this->privates['logger'] ?? ($this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger())));
}
/**
* Gets the private 'debug.debug_handlers_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener
*/
protected function getDebug_DebugHandlersListenerService()
{
return $this->privates['debug.debug_handlers_listener'] = new \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener(NULL, NULL, NULL, -1, true, ($this->privates['debug.file_link_formatter'] ?? ($this->privates['debug.file_link_formatter'] = new \Symfony\Component\HttpKernel\Debug\FileLinkFormatter(NULL))), true, 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['logger'] ?? ($this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger())), true);
}
/**
* 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(new \Sensio\Bundle\FrameworkExtraBundle\Request\ArgumentNameConverter(($this->privates['argument_metadata_factory'] ?? ($this->privates['argument_metadata_factory'] = new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory()))), NULL);
}
/**
* 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')));
}, 1), ($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 'logger' shared service.
*
* @return \Symfony\Component\HttpKernel\Log\Logger
*/
protected function getLoggerService()
{
return $this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger();
}
/**
* 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.request_context' shared service.
*
* @return \Symfony\Component\Routing\RequestContext
*/
protected function getRouter_RequestContextService()
{
return $this->privates['router.request_context'] = \Symfony\Component\Routing\RequestContext::fromUri('', 'localhost', 'http', 80, 443);
}
/**
* 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['logger'] ?? ($this->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger())), \dirname(__DIR__, 4), true);
}
/**
* 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(NULL, NULL), 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.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', '.container.private.twig', 'get_Container_Private_TwigService', true],
], [
'twig' => '?',
]))->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', 'logger', 'getLoggerService', false],
'session' => ['services', 'session', 'getSessionService', true],
], [
'initialized_session' => '?',
'logger' => '?',
'session' => '?',
]), true);
}
/**
* Gets the public 'cache_clearer' alias.
*
* @return object The ".container.private.cache_clearer" service.
*/
protected function getCacheClearerService()
{
trigger_deprecation('symfony/framework-bundle', '5.2', 'Accessing the "cache_clearer" service directly from the container is deprecated, use dependency injection instead.');
return $this->get('.container.private.cache_clearer');
}
/**
* Gets the public 'filesystem' alias.
*
* @return object The ".container.private.filesystem" service.
*/
protected function getFilesystemService()
{
trigger_deprecation('symfony/framework-bundle', '5.2', 'Accessing the "filesystem" service directly from the container is deprecated, use dependency injection instead.');
return $this->get('.container.private.filesystem');
}
/**
* Gets the public 'twig' alias.
*
* @return object The ".container.private.twig" service.
*/
protected function getTwigService()
{
trigger_deprecation('symfony/twig-bundle', '5.2', 'Accessing the "twig" service directly from the container is deprecated, use dependency injection instead.');
return $this->get('.container.private.twig');
}
/**
* @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.runtime_environment' => false,
'kernel.build_dir' => false,
'kernel.cache_dir' => false,
'kernel.secret' => false,
'session.save_path' => false,
'debug.container.dump' => false,
];
private $dynamicParameters = [];
private function getDynamicParameter(string $name)
{
switch ($name) {
case 'kernel.runtime_environment': $value = $this->getEnv('default:kernel.environment:APP_RUNTIME_ENV'); break;
case 'kernel.build_dir': $value = $this->targetDir.''; break;
case 'kernel.cache_dir': $value = $this->targetDir.''; break;
case 'kernel.secret': $value = $this->getEnv('APP_SECRET'); break;
case 'session.save_path': $value = ($this->targetDir.''.'/sessions'); break;
case 'debug.container.dump': $value = ($this->targetDir.''.'/App_KernelDevDebugContainer.xml'); 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' => 'dev',
'kernel.debug' => true,
'kernel.logs_dir' => (\dirname(__DIR__, 3).'/log'),
'kernel.bundles' => [
'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
'MakerBundle' => 'Symfony\\Bundle\\MakerBundle\\MakerBundle',
'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle',
'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle',
'TwigExtraBundle' => 'Twig\\Extra\\TwigExtraBundle\\TwigExtraBundle',
],
'kernel.bundles_metadata' => [
'FrameworkBundle' => [
'path' => (\dirname(__DIR__, 4).'/vendor/symfony/framework-bundle'),
'namespace' => 'Symfony\\Bundle\\FrameworkBundle',
],
'MakerBundle' => [
'path' => (\dirname(__DIR__, 4).'/vendor/symfony/maker-bundle/src'),
'namespace' => 'Symfony\\Bundle\\MakerBundle',
],
'SensioFrameworkExtraBundle' => [
'path' => (\dirname(__DIR__, 4).'/vendor/sensio/framework-extra-bundle/src'),
'namespace' => 'Sensio\\Bundle\\FrameworkExtraBundle',
],
'TwigBundle' => [
'path' => (\dirname(__DIR__, 4).'/vendor/symfony/twig-bundle'),
'namespace' => 'Symfony\\Bundle\\TwigBundle',
],
'TwigExtraBundle' => [
'path' => (\dirname(__DIR__, 4).'/vendor/twig/extra-bundle'),
'namespace' => 'Twig\\Extra\\TwigExtraBundle',
],
],
'kernel.charset' => 'UTF-8',
'kernel.container_class' => 'App_KernelDevDebugContainer',
'event_dispatcher.event_aliases' => [
'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => 'console.command',
'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => 'console.error',
'Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => 'console.signal',
'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => 'console.terminate',
'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',
],
'fragment.renderer.hinclude.global_template' => NULL,
'fragment.path' => '/_fragment',
'kernel.http_method_override' => false,
'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,
'data_collector.templates' => [
],
'debug.error_handler.throw_at' => -1,
'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,
'twig.form.resources' => [
0 => 'form_div_layout.html.twig',
],
'twig.default_path' => (\dirname(__DIR__, 4).'/templates'),
'console.command.ids' => [
],
];
}
protected function throw($message)
{
throw new RuntimeException($message);
}
}