File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,13 +181,13 @@ instead of the ``default`` entity manager.
181181query_builder
182182~~~~~~~~~~~~~
183183
184- **type **: ``Doctrine\ORM\QueryBuilder `` or a Closure **default **: ``null ``
184+ **type **: ``Doctrine\ORM\QueryBuilder `` or a `` callable `` **default **: ``null ``
185185
186186Allows you to create a custom query for your choices. See
187187:ref: `ref-form-entity-query-builder ` for an example.
188188
189- The value of this option can either be a ``QueryBuilder `` object, a Closure or
190- ``null `` (which will load all entities). When using a Closure , you will be
189+ The value of this option can either be a ``QueryBuilder `` object, a callable or
190+ ``null `` (which will load all entities). When using a callable , you will be
191191passed the ``EntityRepository `` of the entity as the only argument and should
192192return a ``QueryBuilder ``.
193193
You can’t perform that action at this time.
0 commit comments