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

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

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

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

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