var/cache/dev/ContainerBMvcmW4/getApiPlatform_Doctrine_Orm_Default_ItemDataProviderService.php line 27

Open in your IDE?
  1. <?php
  2. namespace ContainerBMvcmW4;
  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_Doctrine_Orm_Default_ItemDataProviderService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'api_platform.doctrine.orm.default.item_data_provider' shared service.
  12.      *
  13.      * @return \ApiPlatform\Core\Bridge\Doctrine\Orm\ItemDataProvider
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Core/DataProvider/DenormalizedIdentifiersAwareItemDataProviderInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Core/Bridge/Doctrine/Common/Util/IdentifierManagerTrait.php';
  19.         include_once \dirname(__DIR__4).'/vendor/api-platform/core/src/Core/Bridge/Doctrine/Orm/ItemDataProvider.php';
  20.         return $container->privates['api_platform.doctrine.orm.default.item_data_provider'] = new \ApiPlatform\Core\Bridge\Doctrine\Orm\ItemDataProvider(($container->services['doctrine'] ?? $container->getDoctrineService()), ($container->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $container->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($container->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $container->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), new RewindableGenerator(function () use ($container) {
  21.             yield => ($container->privates['api_platform.doctrine.orm.query_extension.eager_loading'] ?? $container->load('getApiPlatform_Doctrine_Orm_QueryExtension_EagerLoadingService'));
  22.             yield => ($container->privates['App\\Doctrine\\Extension\\IgnoreSoftDeletesExtension'] ?? $container->load('getIgnoreSoftDeletesExtensionService'));
  23.         }, 2), NULL);
  24.     }
  25. }