<?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 getHookRepositoryService extends AdminKernelDevContainer
{
    /*
     * Gets the public 'hook_repository' shared service.
     *
     * @return \PrestaShop\PrestaShop\Core\Module\HookRepository
     */
    public static function do($container, $lazyLoad = true)
    {
        return $container->services['hook_repository'] = new \PrestaShop\PrestaShop\Core\Module\HookRepository(($container->services['.container.private.prestashop.adapter.legacy.hook'] ??= new \PrestaShop\PrestaShop\Adapter\Hook\HookInformationProvider()), ($container->services['PrestaShop\\PrestaShop\\Adapter\\LegacyContext'] ?? self::getLegacyContextService($container))->getContext()->shop, ($container->services['prestashop.adapter.legacy_db'] ?? $container->load('getPrestashop_Adapter_LegacyDbService')));
    }
}
