File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ and adding a priority:
292292 autowire : true
293293 # ...
294294
295- App\ArgumentResolver \BookingIdValueResolver :
295+ App\ValueResolver \BookingIdValueResolver :
296296 tags :
297297 - { name: controller.argument_value_resolver, priority: 150 }
298298
@@ -310,7 +310,7 @@ and adding a priority:
310310 <defaults autowire =" true" />
311311 <!-- ... -->
312312
313- <service id =" App\ArgumentResolver \BookingIdValueResolver" >
313+ <service id =" App\ValueResolver \BookingIdValueResolver" >
314314 <tag name =" controller.argument_value_resolver" priority =" 150" />
315315 </service >
316316 </services >
@@ -322,7 +322,7 @@ and adding a priority:
322322 // config/services.php
323323 namespace Symfony\Component\DependencyInjection\Loader\Configurator;
324324
325- use App\ArgumentResolver \BookingIdValueResolver;
325+ use App\ValueResolver \BookingIdValueResolver;
326326
327327 return static function (ContainerConfigurator $container) {
328328 $services = $configurator->services();
Original file line number Diff line number Diff line change @@ -249,7 +249,8 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
249249 route with a different method from an HTML form, add a hidden field called
250250 ``_method `` with the method to use (e.g. ``<input type="hidden" name="_method" value="PUT"> ``).
251251 If you create your forms with :doc: `Symfony Forms </forms >` this is done
252- automatically for you.
252+ automatically for you when the :ref: `framework.http_method_override <configuration-framework-http_method_override >`
253+ option is ``true ``.
253254
254255.. _routing-matching-expressions :
255256
You can’t perform that action at this time.
0 commit comments