File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1981,12 +1981,12 @@ Other Middlewares
19811981
19821982.. versionadded :: 5.3
19831983
1984- The ``router_context `` middleware were introduced in Symfony 5.3.
1984+ The ``router_context `` middleware was introduced in Symfony 5.3.
19851985
1986- When the consumer needs to build an absolute URL, for instance: rendering a
1987- template with links, it needs the initial's request context in order to
1988- retrieves the domain and information needed to build the URL. This can be
1989- achieved by declaring the `` router_context `` middleware in the bus .
1986+ Add the `` router_context `` middleware if you need to generate absolute URLs in
1987+ the consumer (e.g. render a template with links). This middleware stores the
1988+ original request context (i.e. the host, the HTTP port, etc.) which is needed
1989+ when building absolute URLs .
19901990
19911991.. configuration-block ::
19921992
You can’t perform that action at this time.
0 commit comments