<?php

namespace ContainerRBLbIxO;

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 getSuluRoute_Subscriber_PageTreeRouteService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_route.subscriber.page_tree_route' shared service.
     *
     * @return \Sulu\Bundle\RouteBundle\Document\Subscriber\PageTreeRouteSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'RouteBundle'.\DIRECTORY_SEPARATOR.'Document'.\DIRECTORY_SEPARATOR.'Subscriber'.\DIRECTORY_SEPARATOR.'PageTreeRouteSubscriber.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'RouteBundle'.\DIRECTORY_SEPARATOR.'PageTree'.\DIRECTORY_SEPARATOR.'PageTreeUpdaterInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'RouteBundle'.\DIRECTORY_SEPARATOR.'PageTree'.\DIRECTORY_SEPARATOR.'PageTreeMoverInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'RouteBundle'.\DIRECTORY_SEPARATOR.'PageTree'.\DIRECTORY_SEPARATOR.'PageTreeRepository.php';

        $a = ($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container));

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

        if (isset($container->privates['sulu_route.subscriber.page_tree_route'])) {
            return $container->privates['sulu_route.subscriber.page_tree_route'];
        }
        $c = ($container->services['doctrine_phpcr.session'] ?? self::getDoctrinePhpcr_SessionService($container));

        if (isset($container->privates['sulu_route.subscriber.page_tree_route'])) {
            return $container->privates['sulu_route.subscriber.page_tree_route'];
        }
        $d = ($container->services['sulu_document_manager.property_encoder'] ?? self::getSuluDocumentManager_PropertyEncoderService($container));
        $e = ($container->services['sulu_page.structure.factory'] ?? self::getSuluPage_Structure_FactoryService($container));

        return $container->privates['sulu_route.subscriber.page_tree_route'] = new \Sulu\Bundle\RouteBundle\Document\Subscriber\PageTreeRouteSubscriber($a, $d, $b, $e, $c, new \Sulu\Bundle\RouteBundle\PageTree\PageTreeRepository($a, $e, $d, $b));
    }
}
