Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd182f2

Browse filesBrowse files
GeLoLabsweaverryan
authored andcommitted
[Form] Add entity manager instance support for em option
1 parent eb48e4d commit cd182f2
Copy full SHA for cd182f2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎reference/forms/types/entity.rst

Copy file name to clipboardExpand all lines: reference/forms/types/entity.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ or the short alias name (as shown prior).
117117
em
118118
~~
119119

120-
**type**: ``string`` **default**: the default entity manager
120+
**type**: ``string`` | ``Doctrine\Common\Persistence\ObjectManager`` **default**: the default entity manager
121121

122122
If specified, the specified entity manager will be used to load the choices
123123
instead of the default entity manager.
@@ -183,7 +183,7 @@ directly.
183183
choices
184184
~~~~~~~
185185

186-
**type**: array || ``\Traversable`` **default**: ``null``
186+
**type**: array | ``\Traversable`` **default**: ``null``
187187

188188
Instead of allowing the `class`_ and `query_builder`_ options to fetch the
189189
entities to include for you, you can pass the ``choices`` option directly.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.