| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Delete extends Query |
||
| 14 | { |
||
| 15 | /** @var Where */ |
||
| 16 | protected $where; |
||
| 17 | |||
| 18 | /** @var Limit */ |
||
| 19 | public $limit; |
||
| 20 | |||
| 21 | public function __construct(RepositoryInterface $repository) |
||
| 22 | { |
||
| 23 | parent::__construct($repository); |
||
| 24 | $this->where = new Where(); |
||
| 25 | $this->limit = new Limit(); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** @return string */ |
||
| 29 | public function toString() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** @return mixed[] */ |
||
| 38 | public function getValues() |
||
| 39 | { |
||
| 40 | return $this->where->values(); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** @return bool */ |
||
| 44 | public function execute() |
||
| 47 | } |
||
| 48 | |||
| 49 | /** @return Where */ |
||
| 50 | public function where() |
||
| 55 |