<?php

namespace ContainerYHymreF;

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 getSuluWebsite_AnalyticsTrashItemHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_website.analytics_trash_item_handler' shared service.
     *
     * @return \Sulu\Bundle\WebsiteBundle\Trash\AnalyticsTrashItemHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['sulu_trash.trash_item_repository'] ?? self::getSuluTrash_TrashItemRepositoryService($container));

        if (isset($container->privates['sulu_website.analytics_trash_item_handler'])) {
            return $container->privates['sulu_website.analytics_trash_item_handler'];
        }
        $b = ($container->services['sulu.repository.analytics'] ?? $container->load('getSulu_Repository_AnalyticsService'));

        if (isset($container->privates['sulu_website.analytics_trash_item_handler'])) {
            return $container->privates['sulu_website.analytics_trash_item_handler'];
        }
        $c = ($container->privates['sulu_website.domains.repository'] ?? $container->load('getSuluWebsite_Domains_RepositoryService'));

        if (isset($container->privates['sulu_website.analytics_trash_item_handler'])) {
            return $container->privates['sulu_website.analytics_trash_item_handler'];
        }
        $d = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

        if (isset($container->privates['sulu_website.analytics_trash_item_handler'])) {
            return $container->privates['sulu_website.analytics_trash_item_handler'];
        }

        return $container->privates['sulu_website.analytics_trash_item_handler'] = new \Sulu\Bundle\WebsiteBundle\Trash\AnalyticsTrashItemHandler($a, $b, $c, ($container->privates['sulu_trash.doctrine_restore_helper'] ?? $container->load('getSuluTrash_DoctrineRestoreHelperService')), $d, ($container->privates['sulu_activity.domain_event_collector'] ?? self::getSuluActivity_DomainEventCollectorService($container)), 'prod');
    }
}
