public function prepareModifyVote (Vote $existVote) : void
    {
        try {
            $this->prepareVoteInput($existVote);
            $this->setStateToVote();

            if ($this->_Votes->isUsingHandler()) : 
                $this->_Votes[$this->getVoteKey($existVote)] = $existVote;
            endif;
        }
        catch (\Exception $e) {
            throw $e;
        }
    }
public function prepareModifyVote (Vote $existVote) : void
    {
        try {
            $this->prepareVoteInput($existVote);
            $this->setStateToVote();

            if ($this->_Votes->isUsingHandler()) : 
                $this->_Votes[$this->getVoteKey($existVote)] = $existVote;
            endif;
        }
        catch (\Exception $e) {
            throw $e;
        }
    }
public function prepareModifyVote ( Vote $ existVote ) : void { try { $ this -> prepareVoteInput ( $ existVote ) ; $ this -> setStateToVote ( ) ; if ( $ this -> _Votes -> isUsingHandler ( ) ) : $ this -> _Votes [ $ this -> getVoteKey ( $ existVote ) ] = $ existVote ; endif ; } catch ( \ Exception $ e ) { throw $ e ; } }
return True or throw an Exception
return True or throw an Exception