public function setAllowReview($allowReview)
    {
        if (is_bool($allowReview)) {
            $this->allowReview = $allowReview;
        } else {
            $msg = "AllowReview must be a boolean, '" . gettype($allowReview) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setAllowReview($allowReview)
    {
        if (is_bool($allowReview)) {
            $this->allowReview = $allowReview;
        } else {
            $msg = "AllowReview must be a boolean, '" . gettype($allowReview) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setAllowReview ( $ allowReview ) { if ( is_bool ( $ allowReview ) ) { $ this -> allowReview = $ allowReview ; } else { $ msg = "AllowReview must be a boolean, '" . gettype ( $ allowReview ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set that the candidate is allowed to review item body and given responses
after the last item.

@param boolean $allowReview true if allowed, false if not.
@throws \InvalidArgumentException If $allowReview is not a boolean.
Set that the candidate is allowed to review item body and given responses after the last item .