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

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

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

        return $container->privates['sulu_contact.contact_trash_item_handler'] = new \Sulu\Bundle\ContactBundle\Trash\ContactTrashItemHandler($a, ($container->services['sulu.repository.contact'] ?? self::getSulu_Repository_ContactService($container)), ($container->privates['sulu_trash.doctrine_restore_helper'] ?? $container->load('getSuluTrash_DoctrineRestoreHelperService')), $b, ($container->privates['sulu_activity.domain_event_collector'] ?? self::getSuluActivity_DomainEventCollectorService($container)));
    }
}
