<?php

namespace ContainerYfsqiAB;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getLegacyQuickAccessService extends AdminKernelDevContainer
{
    /*
     * Gets the private 'PrestaShopBundle\Twig\Component\Legacy\LegacyQuickAccess' autowired service.
     *
     * @return \PrestaShopBundle\Twig\Component\Legacy\LegacyQuickAccess
     */
    public static function do($container, $lazyLoad = true)
    {
        $container->factories['service_container']['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess'] = function ($container) {
            $a = ($container->privates['PrestaShopBundle\\Twig\\Layout\\MenuBuilder'] ?? self::getMenuBuilderService($container));

            if (isset($container->privates['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess'])) {
                return $container->privates['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess'];
            }
            $b = ($container->services['PrestaShop\\PrestaShop\\Core\\QuickAccess\\QuickAccessGenerator'] ?? $container->load('getQuickAccessGeneratorService'));

            if (isset($container->privates['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess'])) {
                return $container->privates['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess'];
            }

            return new \PrestaShopBundle\Twig\Component\Legacy\LegacyQuickAccess(($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), $a, $b);
        };

        return $container->factories['service_container']['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyQuickAccess']($container);
    }
}
