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:
292
292
autowire : true
293
293
# ...
294
294
295
- App\ArgumentResolver \BookingIdValueResolver :
295
+ App\ValueResolver \BookingIdValueResolver :
296
296
tags :
297
297
- { name: controller.argument_value_resolver, priority: 150 }
298
298
@@ -310,7 +310,7 @@ and adding a priority:
310
310
<defaults autowire =" true" />
311
311
<!-- ... -->
312
312
313
- <service id =" App\ArgumentResolver \BookingIdValueResolver" >
313
+ <service id =" App\ValueResolver \BookingIdValueResolver" >
314
314
<tag name =" controller.argument_value_resolver" priority =" 150" />
315
315
</service >
316
316
</services >
@@ -322,7 +322,7 @@ and adding a priority:
322
322
// config/services.php
323
323
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
324
324
325
- use App\ArgumentResolver \BookingIdValueResolver;
325
+ use App\ValueResolver \BookingIdValueResolver;
326
326
327
327
return static function (ContainerConfigurator $container) {
328
328
$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:
249
249
route with a different method from an HTML form, add a hidden field called
250
250
``_method `` with the method to use (e.g. ``<input type="hidden" name="_method" value="PUT"> ``).
251
251
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 ``.
253
254
254
255
.. _routing-matching-expressions :
255
256
You can’t perform that action at this time.
0 commit comments