<?php

namespace ContainerK7EGPmB;

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 getStockController2Service extends AdminKernelProdContainer
{
    /*
     * Gets the public 'PrestaShopBundle\Controller\Api\StockController' shared service.
     *
     * @return \PrestaShopBundle\Controller\Api\StockController
     */
    public static function do($container, $lazyLoad = true)
    {
        $container->services['PrestaShopBundle\\Controller\\Api\\StockController'] = $instance = new \PrestaShopBundle\Controller\Api\StockController(($container->services['Symfony\\Contracts\\Translation\\TranslatorInterface'] ?? self::getTranslatorInterfaceService($container)), ($container->services['prestashop.core.api.stock.repository'] ?? $container->load('getPrestashop_Core_Api_Stock_RepositoryService')), ($container->services['prestashop.core.api.query_stock_params_collection'] ??= new \PrestaShopBundle\Api\QueryStockParamsCollection()), ($container->services['prestashop.core.api.stock.movements_collection'] ??= new \PrestaShopBundle\Api\Stock\MovementsCollection()));

        $instance->setLogger(($container->services['logger'] ?? self::getLoggerService($container)));
        $instance->setContainer($container);
        $instance->setAuthorizationChecker(($container->privates['security.authorization_checker'] ?? self::getSecurity_AuthorizationCheckerService($container)));

        return $instance;
    }
}
