|
13 | 13 |
|
14 | 14 | namespace ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\DependencyInjection;
|
15 | 15 |
|
| 16 | +use ApiPlatform\Core\Api\IriConverterInterface; |
16 | 17 | use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface;
|
17 | 18 | use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryItemExtensionInterface;
|
18 | 19 | use ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtension;
|
19 | 20 | use ApiPlatform\Core\DataPersister\DataPersisterInterface;
|
20 | 21 | use ApiPlatform\Core\DataProvider\CollectionDataProviderInterface;
|
21 | 22 | use ApiPlatform\Core\DataProvider\ItemDataProviderInterface;
|
| 23 | +use ApiPlatform\Core\DataProvider\SubresourceDataProviderInterface; |
22 | 24 | use ApiPlatform\Core\Exception\InvalidArgumentException;
|
| 25 | +use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface; |
23 | 26 | use ApiPlatform\Core\Tests\Fixtures\TestBundle\TestBundle;
|
24 | 27 | use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
|
25 | 28 | use FOS\UserBundle\FOSUserBundle;
|
@@ -479,6 +482,11 @@ private function getPartialContainerBuilderProphecy()
|
479 | 482 | 'api_platform.property_accessor' => 'property_accessor',
|
480 | 483 | 'api_platform.property_info' => 'property_info',
|
481 | 484 | 'api_platform.serializer' => 'serializer',
|
| 485 | + IriConverterInterface::class => 'api_platform.iri_converter', |
| 486 | + SerializerContextBuilderInterface::class => 'api_platform.serializer.context_builder', |
| 487 | + CollectionDataProviderInterface::class => 'api_platform.collection_data_provider', |
| 488 | + ItemDataProviderInterface::class => 'api_platform.item_data_provider', |
| 489 | + SubresourceDataProviderInterface::class => 'api_platform.subresource_data_provider', |
482 | 490 | ];
|
483 | 491 |
|
484 | 492 | foreach ($aliases as $alias => $service) {
|
|
0 commit comments