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

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

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

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

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