public function setAllowLateSubmission($allowLateSubmission)
    {
        if (is_bool($allowLateSubmission)) {
            $this->allowLateSubmission = $allowLateSubmission;
        } else {
            $msg = "AllowLateSubmission must be a boolean, '" . gettype($allowLateSubmission) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setAllowLateSubmission($allowLateSubmission)
    {
        if (is_bool($allowLateSubmission)) {
            $this->allowLateSubmission = $allowLateSubmission;
        } else {
            $msg = "AllowLateSubmission must be a boolean, '" . gettype($allowLateSubmission) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setAllowLateSubmission ( $ allowLateSubmission ) { if ( is_bool ( $ allowLateSubmission ) ) { $ this -> allowLateSubmission = $ allowLateSubmission ; } else { $ msg = "AllowLateSubmission must be a boolean, '" . gettype ( $ allowLateSubmission ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set wether a candidate's response that is beyond the maxTime should be still
accepted.

@param boolean $allowLateSubmission true if the candidate's response should still be accepted, false if not.
@throws \InvalidArgumentException If $allowLateSubmission is not a boolean.
Set wether a candidate s response that is beyond the maxTime should be still accepted .