| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function crear(array $array): ConsultaTruncate |
||
| 15 | { |
||
| 16 | $conexion = new CrearConexionBaseDeDatos; |
||
| 17 | $conexion = $conexion->crear([]); |
||
| 18 | |||
| 19 | return new ConsultaTruncate( |
||
| 20 | new EjecutarConsultaSinDatos( |
||
| 21 | $conexion |
||
| 22 | ), |
||
| 23 | new SentenciaTruncate( |
||
| 24 | new ElementoTruncate( |
||
| 25 | new Tabla($array['tabla']) |
||
| 26 | ) |
||
| 30 | } |