public function insert(ClienteAbstract $cliente) { $stmt = $this->conn->prepare('INSERT INTO clientes VALUES(:id, :nome, :cpf, :endereco, :enderecoCobranca, :tipo, :grau)'); $stmt->execute(array(':id' => null, ':nome' => $cliente->getNome(), ':cpf' => $cliente->getCpf(), ':endereco' => $cliente->getEndereco(), ':enderecoCobranca' => $cliente->getEnderecoCobranca(), ':tipo' => $cliente->getTipo(), ':grau' => $cliente->getGrauImportancia())); }