@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | $uri = $this->generator->generate($item->getRouteName(), $item->getRouteParameters()); |
| 37 | 37 | |
| 38 | - if ($uri === $this->requestStack->getCurrentRequest()?->getPathInfo()) { |
|
| 38 | + if ($uri === $this->requestStack->getCurrentRequest() ? ->getPathInfo()) { |
|
| 39 | 39 | $item->setCurrent(true); |
| 40 | 40 | return true; |
| 41 | 41 | } |
@@ -9,34 +9,34 @@ |
||
| 9 | 9 | return; |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | -require dirname(__DIR__, 3).'/vendor/autoload.php'; |
|
| 13 | -require __DIR__.'/Container6msxD4P/Braunstetter_MenuBundle_Test_app_src_TestKernelDevDebugContainer.php'; |
|
| 14 | -require __DIR__.'/Container6msxD4P/getTwig_Runtime_HttpkernelService.php'; |
|
| 15 | -require __DIR__.'/Container6msxD4P/getServicesResetterService.php'; |
|
| 16 | -require __DIR__.'/Container6msxD4P/getSecrets_VaultService.php'; |
|
| 17 | -require __DIR__.'/Container6msxD4P/getRouting_LoaderService.php'; |
|
| 18 | -require __DIR__.'/Container6msxD4P/getFragment_Renderer_InlineService.php'; |
|
| 19 | -require __DIR__.'/Container6msxD4P/getErrorControllerService.php'; |
|
| 20 | -require __DIR__.'/Container6msxD4P/getContainer_EnvVarProcessorsLocatorService.php'; |
|
| 21 | -require __DIR__.'/Container6msxD4P/getContainer_EnvVarProcessorService.php'; |
|
| 22 | -require __DIR__.'/Container6msxD4P/getCache_SystemClearerService.php'; |
|
| 23 | -require __DIR__.'/Container6msxD4P/getCache_SystemService.php'; |
|
| 24 | -require __DIR__.'/Container6msxD4P/getCache_GlobalClearerService.php'; |
|
| 25 | -require __DIR__.'/Container6msxD4P/getCache_AppClearerService.php'; |
|
| 26 | -require __DIR__.'/Container6msxD4P/getCache_AppService.php'; |
|
| 27 | -require __DIR__.'/Container6msxD4P/getArgumentResolver_ServiceService.php'; |
|
| 28 | -require __DIR__.'/Container6msxD4P/getTemplateControllerService.php'; |
|
| 29 | -require __DIR__.'/Container6msxD4P/getRedirectControllerService.php'; |
|
| 30 | -require __DIR__.'/Container6msxD4P/getTestEventMenuService.php'; |
|
| 31 | -require __DIR__.'/Container6msxD4P/getTestSubscriberService.php'; |
|
| 32 | -require __DIR__.'/Container6msxD4P/getTestControllerService.php'; |
|
| 33 | -require __DIR__.'/Container6msxD4P/getMenuResolverService.php'; |
|
| 34 | -require __DIR__.'/Container6msxD4P/getMenuService.php'; |
|
| 35 | -require __DIR__.'/Container6msxD4P/get_ServiceLocator_KfwZsneService.php'; |
|
| 36 | -require __DIR__.'/Container6msxD4P/get_ServiceLocator_KfbR3DYService.php'; |
|
| 37 | -require __DIR__.'/Container6msxD4P/get_Container_Private_TwigService.php'; |
|
| 38 | -require __DIR__.'/Container6msxD4P/get_Container_Private_FilesystemService.php'; |
|
| 39 | -require __DIR__.'/Container6msxD4P/get_Container_Private_CacheClearerService.php'; |
|
| 12 | +require dirname(__DIR__, 3) . '/vendor/autoload.php'; |
|
| 13 | +require __DIR__ . '/Container6msxD4P/Braunstetter_MenuBundle_Test_app_src_TestKernelDevDebugContainer.php'; |
|
| 14 | +require __DIR__ . '/Container6msxD4P/getTwig_Runtime_HttpkernelService.php'; |
|
| 15 | +require __DIR__ . '/Container6msxD4P/getServicesResetterService.php'; |
|
| 16 | +require __DIR__ . '/Container6msxD4P/getSecrets_VaultService.php'; |
|
| 17 | +require __DIR__ . '/Container6msxD4P/getRouting_LoaderService.php'; |
|
| 18 | +require __DIR__ . '/Container6msxD4P/getFragment_Renderer_InlineService.php'; |
|
| 19 | +require __DIR__ . '/Container6msxD4P/getErrorControllerService.php'; |
|
| 20 | +require __DIR__ . '/Container6msxD4P/getContainer_EnvVarProcessorsLocatorService.php'; |
|
| 21 | +require __DIR__ . '/Container6msxD4P/getContainer_EnvVarProcessorService.php'; |
|
| 22 | +require __DIR__ . '/Container6msxD4P/getCache_SystemClearerService.php'; |
|
| 23 | +require __DIR__ . '/Container6msxD4P/getCache_SystemService.php'; |
|
| 24 | +require __DIR__ . '/Container6msxD4P/getCache_GlobalClearerService.php'; |
|
| 25 | +require __DIR__ . '/Container6msxD4P/getCache_AppClearerService.php'; |
|
| 26 | +require __DIR__ . '/Container6msxD4P/getCache_AppService.php'; |
|
| 27 | +require __DIR__ . '/Container6msxD4P/getArgumentResolver_ServiceService.php'; |
|
| 28 | +require __DIR__ . '/Container6msxD4P/getTemplateControllerService.php'; |
|
| 29 | +require __DIR__ . '/Container6msxD4P/getRedirectControllerService.php'; |
|
| 30 | +require __DIR__ . '/Container6msxD4P/getTestEventMenuService.php'; |
|
| 31 | +require __DIR__ . '/Container6msxD4P/getTestSubscriberService.php'; |
|
| 32 | +require __DIR__ . '/Container6msxD4P/getTestControllerService.php'; |
|
| 33 | +require __DIR__ . '/Container6msxD4P/getMenuResolverService.php'; |
|
| 34 | +require __DIR__ . '/Container6msxD4P/getMenuService.php'; |
|
| 35 | +require __DIR__ . '/Container6msxD4P/get_ServiceLocator_KfwZsneService.php'; |
|
| 36 | +require __DIR__ . '/Container6msxD4P/get_ServiceLocator_KfbR3DYService.php'; |
|
| 37 | +require __DIR__ . '/Container6msxD4P/get_Container_Private_TwigService.php'; |
|
| 38 | +require __DIR__ . '/Container6msxD4P/get_Container_Private_FilesystemService.php'; |
|
| 39 | +require __DIR__ . '/Container6msxD4P/get_Container_Private_CacheClearerService.php'; |
|
| 40 | 40 | |
| 41 | 41 | $classes = []; |
| 42 | 42 | $classes[] = 'Symfony\Bundle\FrameworkBundle\FrameworkBundle'; |
@@ -17,10 +17,10 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php'; |
|
| 21 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarProcessor.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php'; |
|
| 21 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/dependency-injection/EnvVarProcessor.php'; |
|
| 22 | 22 | |
| 23 | - return $container->privates['container.env_var_processor'] = new \Symfony\Component\DependencyInjection\EnvVarProcessor($container, new RewindableGenerator(function () use ($container) { |
|
| 23 | + return $container->privates['container.env_var_processor'] = new \Symfony\Component\DependencyInjection\EnvVarProcessor($container, new RewindableGenerator(function() use ($container) { |
|
| 24 | 24 | yield 0 => ($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')); |
| 25 | 25 | }, 1)); |
| 26 | 26 | } |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Component\DependencyInjection\EnvVarProcessor |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php'; |
| 22 | + } |
|
| 21 | 23 | include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarProcessor.php'; |
| 22 | 24 | |
| 23 | 25 | return $container->privates['container.env_var_processor'] = new \Symfony\Component\DependencyInjection\EnvVarProcessor($container, new RewindableGenerator(function () use ($container) { |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/src/Services/Menu.php'; |
|
| 21 | - include_once \dirname(__DIR__, 4).'/src/Contracts/MenuResolverInterface.php'; |
|
| 22 | - include_once \dirname(__DIR__, 4).'/src/Services/Resolver/AbstractMenuResolver.php'; |
|
| 23 | - include_once \dirname(__DIR__, 4).'/src/Services/Resolver/BreadcrumbsResolver.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/src/Services/Menu.php'; |
|
| 21 | + include_once \dirname(__DIR__, 4) . '/src/Contracts/MenuResolverInterface.php'; |
|
| 22 | + include_once \dirname(__DIR__, 4) . '/src/Services/Resolver/AbstractMenuResolver.php'; |
|
| 23 | + include_once \dirname(__DIR__, 4) . '/src/Services/Resolver/BreadcrumbsResolver.php'; |
|
| 24 | 24 | |
| 25 | - return $container->services['Braunstetter\\MenuBundle\\Services\\Menu'] = new \Braunstetter\MenuBundle\Services\Menu(($container->services['Braunstetter\\MenuBundle\\Services\\Resolver\\MenuResolver'] ?? $container->load('getMenuResolverService')), new \Braunstetter\MenuBundle\Services\Resolver\BreadcrumbsResolver(new RewindableGenerator(function () use ($container) { |
|
| 25 | + return $container->services['Braunstetter\\MenuBundle\\Services\\Menu'] = new \Braunstetter\MenuBundle\Services\Menu(($container->services['Braunstetter\\MenuBundle\\Services\\Resolver\\MenuResolver'] ?? $container->load('getMenuResolverService')), new \Braunstetter\MenuBundle\Services\Resolver\BreadcrumbsResolver(new RewindableGenerator(function() use ($container) { |
|
| 26 | 26 | yield 0 => ($container->privates['Braunstetter\\MenuBundle\\Test\\app\\src\\Menu\\TestMenu'] ?? ($container->privates['Braunstetter\\MenuBundle\\Test\\app\\src\\Menu\\TestMenu'] = new \Braunstetter\MenuBundle\Test\app\src\Menu\TestMenu())); |
| 27 | 27 | yield 1 => ($container->privates['Braunstetter\\MenuBundle\\Test\\app\\src\\Menu\\TestEventMenu'] ?? $container->load('getTestEventMenuService')); |
| 28 | 28 | }, 2), ($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), ($container->services['router'] ?? $container->getRouterService()))); |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Braunstetter\MenuBundle\Services\Menu |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/src/Services/Menu.php'; |
| 22 | + } |
|
| 21 | 23 | include_once \dirname(__DIR__, 4).'/src/Contracts/MenuResolverInterface.php'; |
| 22 | 24 | include_once \dirname(__DIR__, 4).'/src/Services/Resolver/AbstractMenuResolver.php'; |
| 23 | 25 | include_once \dirname(__DIR__, 4).'/src/Services/Resolver/BreadcrumbsResolver.php'; |
@@ -15,8 +15,10 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Component\Config\Loader\LoaderInterface |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | $container->throw('Cannot autowire service ".service_locator.KfbR3DY": it references interface "Symfony\\Component\\Config\\Loader\\LoaderInterface" but no such service exists. You should maybe alias this interface to one of these existing services: "routing.loader.xml", "routing.loader.yml", "routing.loader.php", "routing.loader.glob", "routing.loader.directory", "routing.loader.container", "routing.loader", "routing.loader.annotation", "routing.loader.annotation.directory", "routing.loader.annotation.file".'); |
| 21 | 22 | } |
| 23 | + } |
|
| 22 | 24 | } |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheClearer/CacheClearerInterface.php'; |
|
| 21 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheClearer/Psr6CacheClearer.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/http-kernel/CacheClearer/CacheClearerInterface.php'; |
|
| 21 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/http-kernel/CacheClearer/Psr6CacheClearer.php'; |
|
| 22 | 22 | |
| 23 | 23 | return $container->services['cache.global_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer(['cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService')), 'cache.system' => ($container->services['cache.system'] ?? $container->load('getCache_SystemService'))]); |
| 24 | 24 | } |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheClearer/CacheClearerInterface.php'; |
| 22 | + } |
|
| 21 | 23 | include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheClearer/Psr6CacheClearer.php'; |
| 22 | 24 | |
| 23 | 25 | return $container->services['cache.global_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer(['cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService')), 'cache.system' => ($container->services['cache.system'] ?? $container->load('getCache_SystemService'))]); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/TemplateController.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/framework-bundle/Controller/TemplateController.php'; |
|
| 21 | 21 | |
| 22 | 22 | return $container->services['Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController'] = new \Symfony\Bundle\FrameworkBundle\Controller\TemplateController(($container->services['.container.private.twig'] ?? $container->load('get_Container_Private_TwigService'))); |
| 23 | 23 | } |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Bundle\FrameworkBundle\Controller\TemplateController |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/TemplateController.php'; |
| 22 | + } |
|
| 21 | 23 | |
| 22 | 24 | return $container->services['Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController'] = new \Symfony\Bundle\FrameworkBundle\Controller\TemplateController(($container->services['.container.private.twig'] ?? $container->load('get_Container_Private_TwigService'))); |
| 23 | 25 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/filesystem/Filesystem.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/filesystem/Filesystem.php'; |
|
| 21 | 21 | |
| 22 | 22 | return $container->services['.container.private.filesystem'] = new \Symfony\Component\Filesystem\Filesystem(); |
| 23 | 23 | } |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Component\Filesystem\Filesystem |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/vendor/symfony/filesystem/Filesystem.php'; |
| 22 | + } |
|
| 21 | 23 | |
| 22 | 24 | return $container->services['.container.private.filesystem'] = new \Symfony\Component\Filesystem\Filesystem(); |
| 23 | 25 | } |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public static function do($container, $lazyLoad = true) |
| 19 | 19 | { |
| 20 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Secrets/AbstractVault.php'; |
|
| 21 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php'; |
|
| 22 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Secrets/SodiumVault.php'; |
|
| 23 | - include_once \dirname(__DIR__, 4).'/vendor/symfony/string/LazyString.php'; |
|
| 20 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/framework-bundle/Secrets/AbstractVault.php'; |
|
| 21 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php'; |
|
| 22 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/framework-bundle/Secrets/SodiumVault.php'; |
|
| 23 | + include_once \dirname(__DIR__, 4) . '/vendor/symfony/string/LazyString.php'; |
|
| 24 | 24 | |
| 25 | - return $container->privates['secrets.vault'] = new \Symfony\Bundle\FrameworkBundle\Secrets\SodiumVault((\dirname(__DIR__, 4).'/config/secrets/'.$container->getEnv('string:default:kernel.environment:APP_RUNTIME_ENV')), \Symfony\Component\String\LazyString::fromCallable(\Closure::fromCallable([0 => $container, 1 => 'getEnv']), 'base64:default::SYMFONY_DECRYPTION_SECRET')); |
|
| 25 | + return $container->privates['secrets.vault'] = new \Symfony\Bundle\FrameworkBundle\Secrets\SodiumVault((\dirname(__DIR__, 4) . '/config/secrets/' . $container->getEnv('string:default:kernel.environment:APP_RUNTIME_ENV')), \Symfony\Component\String\LazyString::fromCallable(\Closure::fromCallable([0 => $container, 1 => 'getEnv']), 'base64:default::SYMFONY_DECRYPTION_SECRET')); |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -15,9 +15,11 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @return \Symfony\Bundle\FrameworkBundle\Secrets\SodiumVault |
| 17 | 17 | */ |
| 18 | - public static function do($container, $lazyLoad = true) |
|
| 18 | + public static function do { |
|
| 19 | + ($container, $lazyLoad = true) |
|
| 19 | 20 | { |
| 20 | 21 | include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Secrets/AbstractVault.php'; |
| 22 | + } |
|
| 21 | 23 | include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php'; |
| 22 | 24 | include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Secrets/SodiumVault.php'; |
| 23 | 25 | include_once \dirname(__DIR__, 4).'/vendor/symfony/string/LazyString.php'; |