minor #40716 [FrameworkBundle] Fix fragment.uri_generator definition (dunglas)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[FrameworkBundle] Fix fragment.uri_generator definition

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

Fix for a bug I introduced in #40575 (missing service).

Commits
-------

eaae4500f4 [FrameworkBundle] Fix fragment.uri_generator definition
This commit is contained in:
Alexander M. Turek 2021-04-06 17:50:31 +02:00
commit 8925dc7d98

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)