var/cache/dev/ContainerVJPm9f3/getApiPlatform_Doctrine_Orm_Default_ItemDataProviderService.php line 18

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_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.         $a = ($container->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $container->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService());
  21.         if (isset($container->privates['api_platform.doctrine.orm.default.item_data_provider'])) {
  22.             return $container->privates['api_platform.doctrine.orm.default.item_data_provider'];
  23.         }
  24.         $b = ($container->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $container->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService());
  25.         if (isset($container->privates['api_platform.doctrine.orm.default.item_data_provider'])) {
  26.             return $container->privates['api_platform.doctrine.orm.default.item_data_provider'];
  27.         }
  28.         return $container->privates['api_platform.doctrine.orm.default.item_data_provider'] = new \ApiPlatform\Core\Bridge\Doctrine\Orm\ItemDataProvider(($container->services['doctrine'] ?? $container->getDoctrineService()), $a$b, new RewindableGenerator(function () use ($container) {
  29.             yield => ($container->privates['App\\Extensions\\OwnedByOrganizationExtension'] ?? $container->load('getOwnedByOrganizationExtensionService'));
  30.             yield => ($container->privates['App\\Extensions\\OwnedByUserExtension'] ?? $container->load('getOwnedByUserExtensionService'));
  31.             yield => ($container->privates['api_platform.doctrine.orm.query_extension.eager_loading'] ?? $container->load('getApiPlatform_Doctrine_Orm_QueryExtension_EagerLoadingService'));
  32.         }, 3), NULL);
  33.     }
  34. }