Skip to content

Commit

Permalink
[Form] Add entity manager instance support for em option
Browse files Browse the repository at this point in the history
  • Loading branch information
GeLoLabs committed Nov 9, 2014
1 parent 97943e8 commit 09a6fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/forms/types/entity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ or the short alias name (as shown prior).
em
~~

**type**: ``string`` **default**: the default entity manager
**type**: ``string`` | ``Doctrine\Common\Persistence\ObjectManager`` **default**: the default entity manager

If specified, the specified entity manager will be used to load the choices
instead of the default entity manager.
Expand Down Expand Up @@ -183,7 +183,7 @@ directly.
choices
~~~~~~~

**type**: array || ``\Traversable`` **default**: ``null``
**type**: array | ``\Traversable`` **default**: ``null``

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

0 comments on commit 09a6fd7

Please sign in to comment.