var/cache/dev/ContainerV27xjyK/getPimcore_Templating_ViewHelper_NavigationService.php line 9

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'pimcore.templating.view_helper.navigation' shared autowired service.
  6. @trigger_error('The "pimcore.templating.view_helper.navigation" service is deprecated and will be removed in Pimcore 7'E_USER_DEPRECATED);
  7. if ($lazyLoad) {
  8.     return $this->services['pimcore.templating.view_helper.navigation'] = $this->createProxy('Navigation_a34f8f7', function () {
  9.         return \Navigation_a34f8f7::staticProxyConstructor(function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) {
  10.             $wrappedInstance $this->load('getPimcore_Templating_ViewHelper_NavigationService.php'false);
  11.             $proxy->setProxyInitializer(null);
  12.             return true;
  13.         });
  14.     });
  15. }
  16. include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Navigation/Builder.php';
  17. return new \Pimcore\Templating\Helper\Navigation(new \Pimcore\Navigation\Builder(($this->services['Pimcore\\Http\\RequestHelper'] ?? $this->getRequestHelperService())), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [
  18.     'breadcrumbs' => ['privates''Pimcore\\Navigation\\Renderer\\Breadcrumbs''getBreadcrumbsService.php'true],
  19.     'menu' => ['privates''Pimcore\\Navigation\\Renderer\\Menu''getMenuService.php'true],
  20. ], [
  21.     'breadcrumbs' => '?',
  22.     'menu' => '?',
  23. ]));