Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Where implements WhereInterface |
||
8 | { |
||
9 | private $_where; |
||
10 | |||
11 | 39 | public function __construct(ValidadorDeParametrosInterface $ValidadorDeParametrosInterface) |
|
14 | 39 | } |
|
15 | |||
16 | 18 | public function sql(): string |
|
17 | { |
||
18 | 18 | return 'WHERE '.$this->_where[0].' '.$this->_where[1].' ?'; |
|
19 | } |
||
20 | 18 | public function datos(): array |
|
23 | } |
||
24 | } |