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

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

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

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

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