public function deletarAtributo(Atributo $atributo) { $id = $atributo->getId(); $sql = "DELETE FROM atributo WHERE id_atributo='{$id}'"; //echo $sql; if ($this->conexao->query($sql)) { return true; } else { return false; } }