| 1 | <?php |
||
| 8 | trait Conditions |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string[] list of condition expressions to apply to the WHERE clause |
||
| 12 | */ |
||
| 13 | protected $conditions = []; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string|string[] $exprs one or more condition expressions to apply to the WHERE clause |
||
| 17 | * |
||
| 18 | * @return $this |
||
| 19 | */ |
||
| 20 | 1 | public function where($exprs) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return string combined condition expression (for use in the WHERE clause of an SQL statement) |
||
| 31 | */ |
||
| 32 | 1 | protected function buildConditions() |
|
| 36 | } |
||
| 37 |