<?php

namespace ContainerJpqYdfD;

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 getLegacyNavBarService extends AdminKernelDevDebugContainer
{
    /**
     * Gets the private 'PrestaShopBundle\Twig\Component\Legacy\LegacyNavBar' autowired service.
     *
     * @return \PrestaShopBundle\Twig\Component\Legacy\LegacyNavBar
     */
    public static function do($container, $lazyLoad = true)
    {
        $container->factories['service_container']['PrestaShopBundle\\Twig\\Component\\Legacy\\LegacyNavBar'] = function ($container) {
            $a = ($container->privates['PrestaShopBundle\\Twig\\Layout\\MenuBuilder'] ?? self::getMenuBuilderService($container));

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

            return new \PrestaShopBundle\Twig\Component\Legacy\LegacyNavBar(($container->services['PrestaShop\\PrestaShop\\Adapter\\LegacyContext'] ?? self::getLegacyContextService($container)), ($container->services['Psr\\Log\\LoggerInterface'] ?? self::getLoggerInterfaceService($container)), $a, '9.0.3');
        };

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