class ORMQueryBuilderLoader implements EntityLoaderInterface
Getting Entities through the ORM QueryBuilder
Methods
|
__construct(QueryBuilder|Closure $queryBuilder, EntityManager $manager = null, string $class = null)
Construct an ORM Query Builder Loader |
||
| array |
getEntities()
Returns an array of entities that are valid choices in the corresponding choice list. |
|
| array |
getEntitiesByIds(string $identifier, array $values)
Returns an array of entities matching the given identifiers. |
Details
at line 42
public
__construct(QueryBuilder|Closure $queryBuilder, EntityManager $manager = null, string $class = null)
Construct an ORM Query Builder Loader
at line 64
public array
getEntities()
Returns an array of entities that are valid choices in the corresponding choice list.
at line 72
public array
getEntitiesByIds(string $identifier, array $values)
Returns an array of entities matching the given identifiers.