public static function get(Bookboon $bookboon, string $examId) : BookboonResponse
    {
        if (Entity::isValidUUID($examId) === false) {
            throw new BadUUIDException();
        }

        $bResponse = $bookboon->rawRequest("/exams/$examId");

        $bResponse->setEntityStore(
            new EntityStore(
                [
                    new static($bResponse->getReturnArray())
                ]
            )
        );

        return $bResponse;
    }
public static function get(Bookboon $bookboon, string $examId) : BookboonResponse
    {
        if (Entity::isValidUUID($examId) === false) {
            throw new BadUUIDException();
        }

        $bResponse = $bookboon->rawRequest("/exams/$examId");

        $bResponse->setEntityStore(
            new EntityStore(
                [
                    new static($bResponse->getReturnArray())
                ]
            )
        );

        return $bResponse;
    }
public static function get ( Bookboon $ bookboon , string $ examId ) : BookboonResponse { if ( Entity :: isValidUUID ( $ examId ) === false ) { throw new BadUUIDException ( ) ; } $ bResponse = $ bookboon -> rawRequest ( "/exams/$examId" ) ; $ bResponse -> setEntityStore ( new EntityStore ( [ new static ( $ bResponse -> getReturnArray ( ) ) ] ) ) ; return $ bResponse ; }
Get Exam.

@param Bookboon $bookboon
@param string $examId
@return BookboonResponse
@throws BadUUIDException
@throws \Bookboon\Api\Exception\EntityDataException
@throws \Bookboon\Api\Exception\UsageException
Get Exam .