public function remove(int $id): PodiumResponse
    {
        $pollRemover = $this->getRemover($id);

        if ($pollRemover === null) {
            throw new ModelNotFoundException('Poll of given ID can not be found.');
        }

        return $pollRemover->remove();
    }
public function remove(int $id): PodiumResponse
    {
        $pollRemover = $this->getRemover($id);

        if ($pollRemover === null) {
            throw new ModelNotFoundException('Poll of given ID can not be found.');
        }

        return $pollRemover->remove();
    }
public function remove ( int $ id ) : PodiumResponse { $ pollRemover = $ this -> getRemover ( $ id ) ; if ( $ pollRemover === null ) { throw new ModelNotFoundException ( 'Poll of given ID can not be found.' ) ; } return $ pollRemover -> remove ( ) ; }
Deletes poll.
@param int $id
@return PodiumResponse
@throws ModelNotFoundException
Deletes poll .