File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,15 @@ Symfony ships with the following value resolvers in the
59
59
:class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentResolver\\ RequestAttributeValueResolver `
60
60
Attempts to find a request attribute that matches the name of the argument.
61
61
62
+ :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentResolver\\ DateTimeValueResolver `
63
+ Attempts to find a request attribute that matches the name of the argument
64
+ and injects a ``DateTimeInterface `` object if type-hinted with a class
65
+ extending ``DateTimeInterface ``.
66
+
67
+ By default any input that can be parsed as a date string by PHP is accepted.
68
+ You can restrict how the input can be formatted with the
69
+ :class: `Symfony\\ Component\\ HttpKernel\\ Attribute\\ MapDateTime ` attribute.
70
+
62
71
:class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentResolver\\ RequestValueResolver `
63
72
Injects the current ``Request `` if type-hinted with ``Request `` or a class
64
73
extending ``Request ``.
You can’t perform that action at this time.
0 commit comments