File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/Bridge/Symfony/Bundle/Resources/config
tests/Bridge/Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 3131 <argument type =" service" id =" api_platform.metadata.resource.metadata_factory" />
3232 <argument >%api_platform.collection.pagination%</argument >
3333 </service >
34+ <service id =" ApiPlatform\Core\DataProvider\Pagination" alias =" api_platform.pagination" />
3435 </services >
3536
3637</container >
Original file line number Diff line number Diff line change 5555use ApiPlatform \Core \DataPersister \DataPersisterInterface ;
5656use ApiPlatform \Core \DataProvider \CollectionDataProviderInterface ;
5757use ApiPlatform \Core \DataProvider \ItemDataProviderInterface ;
58+ use ApiPlatform \Core \DataProvider \Pagination ;
5859use ApiPlatform \Core \DataProvider \SubresourceDataProviderInterface ;
5960use ApiPlatform \Core \DataTransformer \DataTransformerInterface ;
6061use ApiPlatform \Core \Exception \FilterValidationException ;
@@ -895,6 +896,7 @@ private function getPartialContainerBuilderProphecy()
895896 'api_platform.property_accessor ' => 'property_accessor ' ,
896897 'api_platform.property_info ' => 'property_info ' ,
897898 'api_platform.serializer ' => 'serializer ' ,
899+ Pagination::class => 'api_platform.pagination ' ,
898900 IriConverterInterface::class => 'api_platform.iri_converter ' ,
899901 UrlGeneratorInterface::class => 'api_platform.router ' ,
900902 SerializerContextBuilderInterface::class => 'api_platform.serializer.context_builder ' ,
You can’t perform that action at this time.
0 commit comments