| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Bardex\Elastic; |
||
| 18 | $params['body'][] = [ |
||
| 19 | 'index' => $query['index'], |
||
| 20 | 'type' => $query['type'], |
||
| 21 | ]; |
||
| 22 | $params['body'][] = $query['body']; |
||
| 23 | } |
||
| 24 | return $params; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function fetchAll($hydration=true) |
||
| 28 | { |
||
| 29 | return $this->client->msearch($this->getQuery(), $hydration); |
||
| 33 |