| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class WhereList extends CommonList |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * {@inheritdoc} |
||
| 9 | */ |
||
| 10 | protected $partPrefix = 'WHERE'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | protected $separator = ' AND '; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Magic method __invoke, used when the user call object like a function |
||
| 19 | * @link http://php.net/manual/en/language.oop5.magic.php#object.invoke |
||
| 20 | * |
||
| 21 | * @param string $expr The expression |
||
| 22 | * @param array|null $preparedParams (default: null) params to use for this |
||
| 23 | * expression in case of prepared request. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __invoke(string $expr, $preparedParams = null) |
||
| 38 |