<?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 getSuluCustomUrls_CustomUrlTrashSubscriberService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_custom_urls.custom_url_trash_subscriber' shared service.
     *
     * @return \Sulu\Bundle\CustomUrlBundle\EventListener\CustomUrlTrashSubscriber
     */
    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_custom_urls.custom_url_trash_subscriber'])) {
            return $container->privates['sulu_custom_urls.custom_url_trash_subscriber'];
        }

        return $container->privates['sulu_custom_urls.custom_url_trash_subscriber'] = new \Sulu\Bundle\CustomUrlBundle\EventListener\CustomUrlTrashSubscriber(($container->privates['sulu_trash.trash_manager'] ?? self::getSuluTrash_TrashManagerService($container)), $a);
    }
}
