| Conditions | 3 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function where($column, $operator = null, $value = null, $boolean = 'and') |
||
| 31 | { |
||
| 32 | if (method_exists($this->model, 'encryptable') && $this->model->encryptable($column)) { |
||
| 33 | list($value, $operator) = $this->prepareValueAndOperator($value, $operator, func_num_args() === 2); |
||
| 34 | $value = $this->model->encryptAttribute($value); |
||
| 35 | } |
||
| 36 | |||
| 37 | return parent::where($column, $operator, $value, $boolean); |
||
| 38 | |||
| 40 | } |