28 lines
1.9 KiB
PHP
28 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace ContainerEB2LqQ8;
|
|
|
|
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 getNelmioApiDoc_Routes_DefaultService extends DMD_LaLigaApi_KernelDevDebugContainer
|
|
{
|
|
/**
|
|
* Gets the private 'nelmio_api_doc.routes.default' shared service.
|
|
*
|
|
* @return \Symfony\Component\Routing\RouteCollection
|
|
*/
|
|
public static function do($container, $lazyLoad = true)
|
|
{
|
|
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'RouteCollection.php';
|
|
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'api-doc-bundle'.\DIRECTORY_SEPARATOR.'Routing'.\DIRECTORY_SEPARATOR.'FilteredRouteCollectionBuilder.php';
|
|
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'api-doc-bundle'.\DIRECTORY_SEPARATOR.'Util'.\DIRECTORY_SEPARATOR.'ControllerReflector.php';
|
|
|
|
return $container->privates['nelmio_api_doc.routes.default'] = (new \Nelmio\ApiDocBundle\Routing\FilteredRouteCollectionBuilder(($container->services['annotation_reader'] ?? $container->get('annotation_reader', ContainerInterface::NULL_ON_INVALID_REFERENCE)), ($container->privates['nelmio_api_doc.controller_reflector'] ??= new \Nelmio\ApiDocBundle\Util\ControllerReflector($container)), 'default', ['path_patterns' => ['^/api(?!/doc$)'], 'host_patterns' => [], 'name_patterns' => [], 'with_annotation' => false, 'disable_default_routes' => false]))->filter(($container->services['router'] ?? self::getRouterService($container))->getRouteCollection());
|
|
}
|
|
}
|