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.
181
181
query_builder
182
182
~~~~~~~~~~~~~
183
183
184
- **type **: ``Doctrine\ORM\QueryBuilder `` or a Closure **default **: ``null ``
184
+ **type **: ``Doctrine\ORM\QueryBuilder `` or a `` callable `` **default **: ``null ``
185
185
186
186
Allows you to create a custom query for your choices. See
187
187
:ref: `ref-form-entity-query-builder ` for an example.
188
188
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
191
191
passed the ``EntityRepository `` of the entity as the only argument and should
192
192
return a ``QueryBuilder ``.
193
193
You can’t perform that action at this time.
0 commit comments