Skip to content

Commit f509341

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: Update entity.rst
2 parents 65cb2c6 + 07e39a5 commit f509341

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::
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy