[FrameworkBundle] Fix fragment.uri_generator definition

This commit is contained in:
Kévin Dunglas 2021-04-06 16:17:34 +02:00
parent 345eb75686
commit eaae4500f4
No known key found for this signature in database
GPG Key ID: 9D0C5D6EEB42C445

View File

@ -34,7 +34,7 @@ return static function (ContainerConfigurator $container) {
])
->set('fragment.uri_generator', FragmentUriGenerator::class)
->args([param('fragment.path'), service('uri_signer')])
->args([param('fragment.path'), service('uri_signer'), service('request_stack')])
->alias(FragmentUriGeneratorInterface::class, 'fragment.uri_generator')
->set('fragment.renderer.inline', InlineFragmentRenderer::class)