var/cache/dev/ContainerYFsxnOz/getApiPlatform_Action_ExceptionService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerYFsxnOz;
  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_Action_ExceptionService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'api_platform.action.exception' shared service.
  12.      *
  13.      * @return \ApiPlatform\Action\ExceptionAction
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Action/ExceptionAction.php';
  18.         return $container->services['api_platform.action.exception'] = new \ApiPlatform\Action\ExceptionAction(($container->services['.container.private.serializer'] ?? $container->get_Container_Private_SerializerService()), $container->parameters['api_platform.error_formats'], $container->parameters['api_platform.exception_to_status'], ($container->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
  19.     }
  20. }