class MongoDBQueryBuilderLoader implements EntityLoaderInterface (View source)

Getting Entities through the MongoDB QueryBuilder

Methods

__construct(Builder|Closure $queryBuilder, ObjectManager $manager = null, string $class = null)

Construct an ORM Query Builder Loader

getEntities()

{@inheritDoc}

getEntitiesByIds($identifier, array $values)

{@inheritDoc}

Details

__construct(Builder|Closure $queryBuilder, ObjectManager $manager = null, string $class = null)

Construct an ORM Query Builder Loader

Parameters

Builder|Closure $queryBuilder
ObjectManager $manager
string $class

getEntities()

{@inheritDoc}

getEntitiesByIds($identifier, array $values)

{@inheritDoc}

Parameters

$identifier
array $values