| Conditions | 4 |
| Paths | 6 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 13 | public function ver(array $array, $datos = []): void |
||
| 14 | { |
||
| 15 | $vistas = count($array); |
||
| 16 | $x = 0; |
||
| 17 | |||
| 18 | foreach ($array as $value) { |
||
| 19 | if ($this->laVistaExiste($value)) { |
||
| 20 | $x++; |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | if ($x == $vistas) { |
||
| 25 | $this->_datos = (object) $datos; |
||
| 26 | $this->requerirTodasLasVistas($array); |
||
| 27 | } |
||
| 42 |