1 | <?php |
||
8 | class QueryBuilder implements IQueryBuilder, Stringable |
||
9 | { |
||
10 | protected $query = []; |
||
11 | protected $chunk = 0; |
||
12 | |||
13 | /** |
||
14 | * @param Search|array|null $query |
||
15 | */ |
||
16 | public function __construct($query = null) |
||
23 | |||
24 | 7 | protected function getMatchAllQuery() |
|
28 | |||
29 | public function build(): array |
||
33 | 1 | ||
34 | 1 | public function setChunkCount(int $count): IQueryBuilder |
|
39 | |||
40 | public function getChunkCount(): int |
||
44 | 2 | ||
45 | public function __toString(): string |
||
49 | } |
||
50 |