| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Delete |
||
| 8 | { |
||
| 9 | private $_tabla; |
||
| 10 | private $_where; |
||
| 11 | |||
| 12 | 10 | public function __construct(Tabla $tabla, WhereInterface $whereInterface) |
|
| 13 | { |
||
| 14 | 10 | $this->_tabla = $tabla; |
|
| 15 | 10 | $this->_where = $whereInterface; |
|
| 16 | 10 | } |
|
| 17 | |||
| 18 | 3 | public function sql(): string |
|
| 19 | { |
||
| 20 | 3 | return $this->_tabla->sql().' '.$this->_where->sql(); |
|
| 21 | } |
||
| 22 | |||
| 23 | 3 | public function datos(): array |
|
| 26 | } |
||
| 27 | } |