| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait WhereBuilder { |
||
| 15 | use AbstractDB; |
||
| 16 | |||
| 17 | /** @var array<int, array{DBWhereExpressionType, list<DBParameterValueType>}> */ |
||
|
|
|||
| 18 | private array $where = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param DBWhereExpressionType $expression |
||
| 22 | * @param DBParameterValueType ...$args |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | public function where($expression, ...$args) { |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $query |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | protected function buildWhereConditions(string $query): string { |
||
| 41 |