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 41
41
<tag name =" routing.loader" />
42
42
</service >
43
43
44
+ <service id =" ApiPlatform\Core\Api\UrlGeneratorInterface" alias =" api_platform.router" />
45
+
44
46
<service id =" api_platform.router" class =" ApiPlatform\Core\Bridge\Symfony\Routing\Router" public =" false" >
45
47
<argument type =" service" id =" router" />
46
48
</service >
Original file line number Diff line number Diff line change 15
15
16
16
use ApiPlatform \Core \Api \FilterInterface ;
17
17
use ApiPlatform \Core \Api \IriConverterInterface ;
18
+ use ApiPlatform \Core \Api \UrlGeneratorInterface ;
18
19
use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \EagerLoadingExtension ;
19
20
use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \FilterEagerLoadingExtension ;
20
21
use ApiPlatform \Core \Bridge \Doctrine \Orm \Extension \FilterExtension ;
@@ -489,6 +490,7 @@ private function getPartialContainerBuilderProphecy($test = false)
489
490
'api_platform.property_info ' => 'property_info ' ,
490
491
'api_platform.serializer ' => 'serializer ' ,
491
492
IriConverterInterface::class => 'api_platform.iri_converter ' ,
493
+ UrlGeneratorInterface::class => 'api_platform.router ' ,
492
494
SerializerContextBuilderInterface::class => 'api_platform.serializer.context_builder ' ,
493
495
CollectionDataProviderInterface::class => 'api_platform.collection_data_provider ' ,
494
496
ItemDataProviderInterface::class => 'api_platform.item_data_provider ' ,
You can’t perform that action at this time.
0 commit comments