We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd26bac commit f778497Copy full SHA for f778497
components/type_info.rst
@@ -37,9 +37,15 @@ to the :class:`Symfony\\Component\\TypeInfo\\Type` static methods as following::
37
Type::list(Type::bool());
38
Type::intersection(Type::object(\Stringable::class), Type::object(\Iterator::class));
39
40
+ Type::fromValue(1.1) // same as above Type::float()
41
+
42
// Many others are available and can be
43
// found in Symfony\Component\TypeInfo\TypeFactoryTrait
44
45
+.. versionadded:: 7.3
46
47
+ The ``fromValue()`` method was introduced in Symfony 7.3.
48
49
Resolvers
50
~~~~~~~~~
51
0 commit comments