<?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 getSuluCategory_CategoryTrashItemHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_category.category_trash_item_handler' shared service.
     *
     * @return \Sulu\Bundle\CategoryBundle\Trash\CategoryTrashItemHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['sulu.repository.category_meta'] ?? self::getSulu_Repository_CategoryMetaService($container));

        if (isset($container->privates['sulu_category.category_trash_item_handler'])) {
            return $container->privates['sulu_category.category_trash_item_handler'];
        }
        $b = ($container->services['sulu.repository.category_translation'] ?? self::getSulu_Repository_CategoryTranslationService($container));

        if (isset($container->privates['sulu_category.category_trash_item_handler'])) {
            return $container->privates['sulu_category.category_trash_item_handler'];
        }
        $c = ($container->services['sulu.repository.keyword'] ?? self::getSulu_Repository_KeywordService($container));

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

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

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

        return $container->privates['sulu_category.category_trash_item_handler'] = new \Sulu\Bundle\CategoryBundle\Trash\CategoryTrashItemHandler(($container->privates['sulu_trash.trash_item_repository'] ?? self::getSuluTrash_TrashItemRepositoryService($container)), ($container->services['sulu.repository.category'] ?? self::getSulu_Repository_CategoryService($container)), $a, $b, $c, $d, ($container->privates['sulu_trash.doctrine_restore_helper'] ?? $container->load('getSuluTrash_DoctrineRestoreHelperService')), $e);
    }
}
