<?php

namespace ContainerEKZIeE8;

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 getSuluMedia_CollectionTrashItemHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_media.collection_trash_item_handler' shared service.
     *
     * @return \Sulu\Bundle\MediaBundle\Trash\CollectionTrashItemHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

        if (isset($container->privates['sulu_media.collection_trash_item_handler'])) {
            return $container->privates['sulu_media.collection_trash_item_handler'];
        }
        $b = ($container->privates['sulu_activity.domain_event_collector'] ?? self::getSuluActivity_DomainEventCollectorService($container));

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

        return $container->privates['sulu_media.collection_trash_item_handler'] = new \Sulu\Bundle\MediaBundle\Trash\CollectionTrashItemHandler(($container->privates['sulu_trash.trash_item_repository'] ?? self::getSuluTrash_TrashItemRepositoryService($container)), ($container->services['sulu_media.collection_repository'] ?? self::getSuluMedia_CollectionRepositoryService($container)), $a, ($container->privates['sulu_trash.doctrine_restore_helper'] ?? $container->load('getSuluTrash_DoctrineRestoreHelperService')), $b);
    }
}
