var/cache/dev/ContainerN7Hyqux/getApiPlatform_Listener_View_Write_LegacyService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerN7Hyqux;
  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_Listener_View_Write_LegacyService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'api_platform.listener.view.write.legacy' shared service.
  12.      *
  13.      * @return \ApiPlatform\Core\EventListener\WriteListener
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Core/EventListener/WriteListener.php';
  18.         return $container->privates['api_platform.listener.view.write.legacy'] = new \ApiPlatform\Core\EventListener\WriteListener(($container->privates['debug.api_platform.data_persister'] ?? $container->getDebug_ApiPlatform_DataPersisterService()), ($container->privates['api_platform.iri_converter.legacy'] ?? $container->load('getApiPlatform_IriConverter_LegacyService')), ($container->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($container->privates['api_platform.resource_class_resolver'] ?? $container->getApiPlatform_ResourceClassResolverService()));
  19.     }
  20. }