Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class DatabaseExpression extends Expression implements |
||
15 | DatabaseExpressionInterface |
||
16 | { |
||
17 | /** |
||
18 | * Retrieve the Filter's SQL as a string to append to a WHERE clause. |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | public function sql() |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Retrieve the custom expression. |
||
33 | * |
||
34 | * @throws UnexpectedValueException If the custom expression is empty. |
||
35 | * @return string |
||
36 | */ |
||
37 | protected function byCondition() |
||
48 |