Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
31 | protected function findByIdentifiers(array $identifierValues, $hydrate) |
||
32 | { |
||
33 | return $this->registry |
||
34 | ->getManagerForClass($this->objectClass) |
||
35 | ->getRepository($this->objectClass) |
||
36 | ->{$this->options['query_builder_method']}($this->objectClass) |
||
37 | ->field($this->options['identifier'])->in($identifierValues) |
||
38 | ->hydrate($hydrate) |
||
39 | ->getQuery() |
||
40 | ->execute() |
||
41 | ->toArray(); |
||
42 | } |
||
43 | } |
||
44 |