1 | <?php |
||
13 | class ElasticaToModelTransformer extends AbstractElasticaToModelTransformer |
||
14 | { |
||
15 | const ENTITY_ALIAS = 'o'; |
||
16 | |||
17 | /** |
||
18 | * Fetch objects for theses identifier values. |
||
19 | * |
||
20 | * @param array $identifierValues ids values |
||
21 | * @param Boolean $hydrate whether or not to hydrate the objects, false returns arrays |
||
22 | * |
||
23 | * @return array of objects or arrays |
||
24 | */ |
||
25 | 1 | protected function findByIdentifiers(array $identifierValues, $hydrate) |
|
44 | |||
45 | /** |
||
46 | * Retrieves a query builder to be used for querying by identifiers. |
||
47 | * |
||
48 | * @return \Doctrine\ORM\QueryBuilder |
||
49 | */ |
||
50 | 3 | protected function getEntityQueryBuilder() |
|
58 | } |
||
59 |