Thanks to visit codestin.com Credit goes to github.com
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 e1a499cCopy full SHA for e1a499c
components/type_info.rst
@@ -36,10 +36,15 @@ to the :class:`Symfony\\Component\\TypeInfo\\Type` static methods as following::
36
Type::generic(Type::object(Collection::class), Type::int());
37
Type::list(Type::bool());
38
Type::intersection(Type::object(\Stringable::class), Type::object(\Iterator::class));
39
+ Type::fromValue(1.1) // same as above Type::float()
40
41
// Many others are available and can be
42
// found in Symfony\Component\TypeInfo\TypeFactoryTrait
43
44
+.. versionadded:: 7.3
45
+
46
+ The ``fromValue()`` method was introduced in Symfony 7.3.
47
48
Resolvers
49
~~~~~~~~~
50
0 commit comments