Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9caea6f

Browse files
committed
feature#4336 [Form] Add entity manager instance support for em option (egeloen)
This PR was merged into the master branch.Discussion----------[Form] Add entity manager instance support for em optionThis PR documentssymfony/symfony#12251Commits-------09a6fd7 [Form] Add entity manager instance support for em option
2 parentseb48e4d +09a6fd7 commit9caea6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎reference/forms/types/entity.rst

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp