Conditions | 4 |
Paths | 8 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function __construct(string $collection, string $bucket, string $terms, $limit = null, $offset = null, $locale = null) |
||
22 | { |
||
23 | $this->parameters = [ |
||
24 | 'collection' => $collection, |
||
25 | 'bucket' => $bucket, |
||
26 | 'terms' => self::wrapInQuotes($terms), |
||
27 | 'limit' => $limit ? "LIMIT($limit)": null, |
||
28 | 'offset' => $offset ? "OFFSET($offset)": null, |
||
29 | 'locale' => $locale ? "LANG($locale)": null, |
||
30 | ]; |
||
31 | |||
32 | parent::__construct($this->command, $this->parameters); |
||
33 | } |
||
35 |