| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function crear(array $array): object |
||
| 19 | { |
||
| 20 | $conexion = new CrearConexionBaseDeDatos; |
||
| 21 | $conexion = $conexion->crear([]); |
||
| 22 | |||
| 23 | return new ConsultaSelectWhere( |
||
| 24 | new EjecutarConsultaConDatos( |
||
| 25 | $conexion |
||
| 26 | ), |
||
| 27 | new SentenciaSelectWhere( |
||
| 28 | new CamposYTabla( |
||
| 29 | new Campos($array['campos']), |
||
| 30 | new Tabla($array['tabla']) |
||
| 31 | ), |
||
| 32 | new Como( |
||
| 33 | new WhereOr( |
||
| 34 | new ValidadorDeParametrosWhereAndOthers( |
||
| 35 | $array['where'] |
||
| 36 | ) |
||
| 42 | } |