public function archive(int $id): PodiumResponse
    {
        $forumArchiver = $this->getArchiver($id);

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

        return $forumArchiver->archive();
    }
public function archive(int $id): PodiumResponse
    {
        $forumArchiver = $this->getArchiver($id);

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

        return $forumArchiver->archive();
    }
public function archive ( int $ id ) : PodiumResponse { $ forumArchiver = $ this -> getArchiver ( $ id ) ; if ( $ forumArchiver === null ) { throw new ModelNotFoundException ( 'Forum of given ID can not be found.' ) ; } return $ forumArchiver -> archive ( ) ; }
Archives forum.
@param int $id
@return PodiumResponse
@throws ModelNotFoundException
Archives forum .