Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class Clause |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $clauses = [ |
||
25 | 'where' => [], |
||
26 | ]; |
||
27 | |||
28 | /** |
||
29 | * @param string $key |
||
30 | * @param string $value |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function where(...$args) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param mixed $payload |
||
43 | * |
||
44 | * @return bool |
||
45 | */ |
||
46 | public function intercepted($payload) |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @param mixed $payload |
||
53 | * |
||
54 | * @return bool |
||
55 | */ |
||
56 | protected function interceptWhereClause($payload) |
||
65 |