| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class DondeYDondeConParametro |
||
| 8 | { |
||
| 9 | private $_donde; |
||
| 10 | private $_datos; |
||
| 11 | |||
| 12 | public function __construct(DondeYDondeInterface $Donde, ElementoConParametroInterface $ElementosConParametro) |
||
| 13 | { |
||
| 14 | $this->_datos = $Donde->datos(); |
||
| 15 | $this->_donde = $this->setDonde($Donde,$ElementosConParametro); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function donde(): string |
||
| 19 | { |
||
| 20 | return $this->_donde; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function datos(): array |
||
| 24 | { |
||
| 25 | return $this->_datos; |
||
| 26 | } |
||
| 27 | |||
| 28 | private function setDonde($Donde,$elementosConParametro): string |
||
| 31 | } |
||
| 32 | } |