| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Where implements CriteriaInterface |
||
| 9 | { |
||
| 10 | private $field; |
||
| 11 | private $op; |
||
| 12 | private $value; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Where constructor. |
||
| 16 | * |
||
| 17 | * @param $field |
||
| 18 | * @param $op |
||
| 19 | * @param $value |
||
| 20 | */ |
||
| 21 | public function __construct($field, $value, $op = '=') |
||
| 22 | { |
||
| 23 | $this->field = $field; |
||
| 24 | $this->value = $value; |
||
| 25 | $this->op = $op; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function apply($model, BaseRepositoryInterface $repository) |
||
| 31 | } |
||
| 32 | } |
||
| 33 |