<?php

namespace ContainerH4AHLTQ;

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

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getPimDashboard_Controller_WidgetService extends KernelProdContainer
{
    /*
     * Gets the public 'pim_dashboard.controller.widget' shared service.
     *
     * @return \Akeneo\Platform\Bundle\DashboardBundle\Controller\WidgetController
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Controller/WidgetController.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Widget/Registry.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Widget/WidgetInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Widget/CompletenessWidget.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/FollowUp/Query/GetCompletenessPerChannelAndLocaleInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Storage/ElasticsearchAndSql/FollowUp/GetCompletenessPerChannelAndLocale.php';

        $a = new \Akeneo\Platform\Bundle\DashboardBundle\Widget\Registry();
        $a->add(new \Akeneo\Pim\Enrichment\Bundle\Widget\CompletenessWidget(($container->services['pim_user.context.user'] ?? $container->getPimUser_Context_UserService()), new \Akeneo\Pim\Enrichment\Bundle\Storage\ElasticsearchAndSql\FollowUp\GetCompletenessPerChannelAndLocale(($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService()), ($container->services['akeneo_elasticsearch.client.product_and_product_model'] ?? $container->load('getAkeneoElasticsearch_Client_ProductAndProductModelService')))), 20);

        return $container->services['pim_dashboard.controller.widget'] = new \Akeneo\Platform\Bundle\DashboardBundle\Controller\WidgetController($a, ($container->services['.container.private.twig'] ?? $container->load('get_Container_Private_TwigService')));
    }
}
