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

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

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

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

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