| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class SelectWhereAndOthers implements SelectWhereAndOthersInterface |
||
| 9 | { |
||
| 10 | private $_where; |
||
| 11 | private $_select; |
||
| 12 | |||
| 13 | public function __construct(SelectInterface $selectInterface, WhereAndOthersInterface $whereAndOthersInterface) |
||
| 14 | { |
||
| 15 | $this->_select = $selectInterface; |
||
| 16 | $this->_where = $whereAndOthersInterface; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function sql(): string |
||
| 20 | { |
||
| 21 | return $this->_select->sql().$this->_where->sql(); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function datos(): array |
||
| 27 | } |
||
| 28 | } |