| 1 | <?php |
||
| 28 | class MultiMatchQuery implements BuilderInterface |
||
| 29 | { |
||
| 30 | use ParametersTrait; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var array |
||
| 34 | */ |
||
| 35 | private $fields = []; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | private $query; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param array $fields |
||
| 44 | * @param string $query |
||
| 45 | * @param array $parameters |
||
| 46 | */ |
||
| 47 | public function __construct(array $fields, $query, array $parameters = []) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function getType() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | */ |
||
| 65 | public function toArray() |
||
| 78 | } |
||
| 79 |