var/cache/dev/ContainerVJPm9f3/getApiPlatform_Messenger_DataPersisterService.php line 29

Open in your IDE?
  1. <?php
  2. namespace ContainerVJPm9f3;
  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_Messenger_DataPersisterService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'api_platform.messenger.data_persister' shared service.
  12.      *
  13.      * @return \ApiPlatform\Core\Bridge\Symfony\Messenger\DataPersister
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Symfony/Messenger/DispatchTrait.php';
  18.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Core/Bridge/Symfony/Messenger/DataPersister.php';
  19.         $a = ($container->services['messenger.default_bus'] ?? $container->getMessenger_DefaultBusService());
  20.         if (isset($container->privates['api_platform.messenger.data_persister'])) {
  21.             return $container->privates['api_platform.messenger.data_persister'];
  22.         }
  23.         return $container->privates['api_platform.messenger.data_persister'] = new \ApiPlatform\Core\Bridge\Symfony\Messenger\DataPersister(($container->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), $a);
  24.     }
  25. }