File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/Bridge/Symfony/Bundle/Resources/config
tests/Bridge/Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 4141 <tag name =" routing.loader" />
4242 </service >
4343
44+ <service id =" ApiPlatform\Core\Api\UrlGeneratorInterface" alias =" api_platform.router" />
45+
4446 <service id =" api_platform.router" class =" ApiPlatform\Core\Bridge\Symfony\Routing\Router" public =" false" >
4547 <argument type =" service" id =" router" />
4648 </service >
Original file line number Diff line number Diff line change 1515
1616use ApiPlatform \Core \Api \FilterInterface ;
1717use ApiPlatform \Core \Api \IriConverterInterface ;
18+ use ApiPlatform \Core \Api \UrlGeneratorInterface ;
1819use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \EagerLoadingExtension ;
1920use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \FilterEagerLoadingExtension ;
2021use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \FilterExtension ;
@@ -489,6 +490,7 @@ private function getPartialContainerBuilderProphecy($test = false)
489490 'api_platform.property_info ' => 'property_info ' ,
490491 'api_platform.serializer ' => 'serializer ' ,
491492 IriConverterInterface::class => 'api_platform.iri_converter ' ,
493+ UrlGeneratorInterface::class => 'api_platform.router ' ,
492494 SerializerContextBuilderInterface::class => 'api_platform.serializer.context_builder ' ,
493495 CollectionDataProviderInterface::class => 'api_platform.collection_data_provider ' ,
494496 ItemDataProviderInterface::class => 'api_platform.item_data_provider ' ,
You can’t perform that action at this time.
0 commit comments