var/cache/dev/ContainerHA0EjmU/getApiPlatform_RouteLoader_LegacyService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerHA0EjmU;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getApiPlatform_RouteLoader_LegacyService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'api_platform.route_loader.legacy' shared service.
  12.      *
  13.      * @return \ApiPlatform\Symfony\Routing\ApiLoader
  14.      */
  15.     public static function do($container, $lazyLoad = true)
  16.     {
  17.         include_once \dirname(__DIR__, 4).'/vendor/symfony/config/Loader/LoaderInterface.php';
  18.         include_once \dirname(__DIR__, 4).'/vendor/symfony/config/Loader/Loader.php';
  19.         include_once \dirname(__DIR__, 4).'/vendor/api-platform/core/src/Symfony/Routing/ApiLoader.php';
  20.         return $container->privates['api_platform.route_loader.legacy'] = new \ApiPlatform\Symfony\Routing\ApiLoader(($container->services['kernel'] ?? $container->get('kernel', 1)), ($container->privates['api_platform.metadata.resource.name_collection_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_NameCollectionFactory_CachedService()), ($container->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($container->privates['api_platform.operation_path_resolver.custom'] ?? $container->getApiPlatform_OperationPathResolver_CustomService()), $container, $container->parameters['api_platform.formats'], $container->parameters['api_platform.resource_class_directories'], ($container->privates['api_platform.subresource_operation_factory.cached'] ?? $container->getApiPlatform_SubresourceOperationFactory_CachedService()), false, true, true, false, false, ($container->privates['api_platform.identifiers_extractor.cached'] ?? $container->getApiPlatform_IdentifiersExtractor_CachedService()));
  21.     }
  22. }