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

        if (isset($container->privates['sulu_page.page_trash_item_handler'])) {
            return $container->privates['sulu_page.page_trash_item_handler'];
        }
        $b = ($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container));

        if (isset($container->privates['sulu_page.page_trash_item_handler'])) {
            return $container->privates['sulu_page.page_trash_item_handler'];
        }
        $c = ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container));

        if (isset($container->privates['sulu_page.page_trash_item_handler'])) {
            return $container->privates['sulu_page.page_trash_item_handler'];
        }
        $d = ($container->privates['sulu_document_manager.document_domain_event_collector'] ?? $container->load('getSuluDocumentManager_DocumentDomainEventCollectorService'));

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

        return $container->privates['sulu_page.page_trash_item_handler'] = new \Sulu\Bundle\PageBundle\Trash\PageTrashItemHandler($a, $b, $c, $d);
    }
}
