| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function __construct(string $collection, string $bucket, string $terms, $limit = null) |
||
| 20 | { |
||
| 21 | $this->parameters = [ |
||
| 22 | 'collection' => $collection, |
||
| 23 | 'bucket' => $bucket, |
||
| 24 | 'terms' => self::wrapInQuotes($terms), |
||
| 25 | 'limit' => $limit ? "LIMIT($limit)" : null, |
||
| 26 | ]; |
||
| 27 | |||
| 28 | parent::__construct($this->command, $this->parameters); |
||
| 29 | } |
||
| 30 | } |