ORMQueryBuilderLoader
class ORMQueryBuilderLoader implements EntityLoaderInterface
Loads entities using a {@link QueryBuilder} instance.
Methods
__construct(QueryBuilder $queryBuilder)
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 line 40
__construct(QueryBuilder $queryBuilder)
Construct an ORM Query Builder Loader.
at line line 48
array
getEntities()
Returns an array of entities that are valid choices in the corresponding choice list.
at line line 56
array
getEntitiesByIds(string $identifier, array $values)
Returns an array of entities matching the given identifiers.