<?php

namespace ContainerBnDMNJc;

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_SubscriberService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_custom_urls.subscriber' shared service.
     *
     * @return \Sulu\Component\CustomUrl\Document\Subscriber\CustomUrlSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container));

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

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

        return $container->privates['sulu_custom_urls.subscriber'] = new \Sulu\Component\CustomUrl\Document\Subscriber\CustomUrlSubscriber(($container->privates['sulu_custom_urls.domain_generator'] ?? self::getSuluCustomUrls_DomainGeneratorService($container)), $a, ($container->privates['sulu_document_manager.path_builder'] ?? self::getSuluDocumentManager_PathBuilderService($container)), $b, ($container->services['sulu_core.webspace.webspace_manager'] ?? self::getSuluCore_Webspace_WebspaceManagerService($container)));
    }
}
