<?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 getRouting_LoaderService extends App_KernelProdContainer
{
    /*
     * Gets the public 'routing.loader' shared service.
     *
     * @return \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = new \Symfony\Component\Config\Loader\LoaderResolver();

        $b = ($container->privates['file_locator'] ??= new \Symfony\Component\HttpKernel\Config\FileLocator(($container->services['kernel'] ?? $container->get('kernel', 1))));
        $c = new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\RestRouteProcessor();
        $d = new \Doctrine\Common\Annotations\AnnotationReader();
        $d->addGlobalIgnoredName('required');
        $e = new \Symfony\Bundle\FrameworkBundle\Routing\AttributeRouteControllerLoader('prod');

        $a->addLoader(new \Symfony\Component\Routing\Loader\XmlFileLoader($b, 'prod'));
        $a->addLoader(new \Symfony\Component\Routing\Loader\YamlFileLoader($b, 'prod'));
        $a->addLoader(new \Symfony\Component\Routing\Loader\PhpFileLoader($b, 'prod'));
        $a->addLoader(new \Symfony\Component\Routing\Loader\GlobFileLoader($b, 'prod'));
        $a->addLoader(new \Symfony\Component\Routing\Loader\DirectoryLoader($b, 'prod'));
        $a->addLoader(new \Symfony\Component\Routing\Loader\ContainerLoader(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
            'kernel' => ['services', 'kernel', 'getKernelService', false],
            'security.route_loader.logout' => ['privates', 'security.route_loader.logout', 'getSecurity_RouteLoader_LogoutService', true],
        ], [
            'kernel' => 'App\\Kernel',
            'security.route_loader.logout' => 'Symfony\\Bundle\\SecurityBundle\\Routing\\LogoutRouteLoader',
        ]), 'prod'));
        $a->addLoader(new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\DirectoryRouteLoader($b, $c));
        $a->addLoader(new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\RestRouteLoader($container, $b, new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\Reader\RestControllerReader(new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\Reader\RestActionReader($d, new \FOS\RestBundle\Request\ParamReader(NULL), new \HandcraftedInTheAlps\RestRoutingBundle\Inflector\DoctrineInflector(), true, ['json' => true, 'csv' => true], true), $d), 'json'));
        $a->addLoader(new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\RestYamlCollectionLoader($b, $c, true, ['json' => true, 'csv' => true], 'json'));
        $a->addLoader(new \HandcraftedInTheAlps\RestRoutingBundle\Routing\Loader\RestXmlCollectionLoader($b, $c, true, ['json' => true, 'csv' => true], 'json'));
        $a->addLoader(new \Sulu\Bundle\WebsiteBundle\Routing\PortalLoader(($container->services['sulu_core.webspace.webspace_manager'] ?? self::getSuluCore_Webspace_WebspaceManagerService($container)), $b));
        $a->addLoader(new \Sulu\Bundle\DocumentManagerBundle\Routing\Loader\VersionRouteLoader(false));
        $a->addLoader($e);
        $a->addLoader(new \Symfony\Component\Routing\Loader\AttributeDirectoryLoader($b, $e));
        $a->addLoader(new \Symfony\Component\Routing\Loader\AttributeFileLoader($b, $e));
        $a->addLoader(new \Symfony\Component\Routing\Loader\Psr4DirectoryLoader($b));

        return $container->services['routing.loader'] = new \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader($a, ['utf8' => true], []);
    }
}
