8000
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 97943e8 commit 09a6fd7Copy full SHA for 09a6fd7
reference/forms/types/entity.rst
@@ -117,7 +117,7 @@ or the short alias name (as shown prior).
117
em
118
~~
119
120
-**type**: ``string`` **default**: the default entity manager
+**type**: ``string`` | ``Doctrine\Common\Persistence\ObjectManager`` **default**: the default entity manager
121
122
If specified, the specified entity manager will be used to load the choices
123
instead of the default entity manager.
@@ -183,7 +183,7 @@ directly.
183
choices
184
~~~~~~~
185
186
-**type**: array || ``\Traversable`` **default**: ``null``
+**type**: array | ``\Traversable`` **default**: ``null``
187
188
Instead of allowing the `class`_ and `query_builder`_ options to fetch the
189
entities to include for you, you can pass the ``choices`` option directly.
0 commit comments