File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1063,12 +1063,11 @@ integer acting as the user ID) into another value (e.g. the object that
10631063represents the user). This feature is called "param converter" and is only
10641064available when using annotations to define routes.
10651065
1066- In case you didn't run this command before, run it now to add support for
1067- annotations and "param converters":
1066+ To add support for "param converters" we need SensioFrameworkExtraBundle:
10681067
10691068.. code-block :: terminal
10701069
1071- $ composer require annotations
1070+ $ composer require sensio/framework-extra-bundle
10721071
10731072 Now, keep the previous route configuration, but change the arguments of the
10741073controller action. Instead of ``string $slug ``, add ``BlogPost $post ``::
You can’t perform that action at this time.
0 commit comments