var/cache/dev/Container56BHOxG/getApiPlatform_Action_ExceptionService.php line 18

  1. <?php
  2. namespace Container56BHOxG;
  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->privates['serializer'] ?? $container->getSerializerService()), $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. }