<p dir="auto">Currently <code class="notranslate">ControllerResolver</code> is responsible for determining the parameters to pass to controller actions. It does so via <code class="notranslate">Reflection</code> matching request attribute names to action parameter names. For parameters using the <code class="notranslate">Request</code> type hint it however knows to inject the <code class="notranslate">Request</code> instance.</p>
<p dir="auto">Now in FOSRestBundle we have a need to inject parameters by type hint. Which leads to having to do the same work again. See for example:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="31482560" data-permission-text="Title is private" data-url="https://github.com/FriendsOfSymfony/FOSRestBundle/issues/745" data-hovercard-type="pull_request" data-hovercard-url="/FriendsOfSymfony/FOSRestBundle/pull/745/hovercard" href="https://github.com/FriendsOfSymfony/FOSRestBundle/pull/745">FriendsOfSymfony/FOSRestBundle#745</a></p>
<p dir="auto">So it might make sense to provide some way to tell the <code class="notranslate">ControllerResolver</code> for whatever  other type hints to look for and what attributes to map them to.</p>
<p dir="auto">In the <a href="https://github.com/symfony/workflow">https://github.com/symfony/workflow</a> repository, the link to the documentation is not working.<br>
The current link is <a href="https://symfony.com/doc/current/components/workflow/introduction.html" rel="nofollow">https://symfony.com/doc/current/components/workflow/introduction.html</a> which returns a 404.</p>