Skip to content

Commit 86580e7

Browse files
committed
Reword
1 parent 29a0b58 commit 86580e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/forms/types/entity.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Using a Custom Query for the Entities
4949

5050
If you want to create a custom query to use when fetching the entities
5151
(e.g. you only want to return some entities, or need to order them), use
52-
the `query_builder`_ option. Please note, that `query_builder` is used to compose data, not fetch real final results::
52+
the `query_builder`_ option (which must be a ``QueryBuilder`` object, a closure
53+
returning a ``QueryBuilder`` object or ``null`` to load all entities)::
5354

5455
use App\Entity\User;
5556
use Doctrine\ORM\EntityRepository;

0 commit comments

Comments
 (0)