function insert(Factura $factura) { $parametros = $factura->getArray(); return $this->bd->insert($this->tabla, $parametros, true); }