public function modificarTipo($tipoId, $nombre) { $tipo = new Tipo($categoriaId, $nombre); $tipo->modificarTipo(); }