public function setMinChoices($minChoices)
    {
        if (is_int($minChoices) === true && $minChoices >= 0) {
            $this->minChoices = $minChoices;
        } else {
            $msg = "The 'minChoices' argument must be a positive integer, '" . gettype($minChoices) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMinChoices($minChoices)
    {
        if (is_int($minChoices) === true && $minChoices >= 0) {
            $this->minChoices = $minChoices;
        } else {
            $msg = "The 'minChoices' argument must be a positive integer, '" . gettype($minChoices) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMinChoices ( $ minChoices ) { if ( is_int ( $ minChoices ) === true && $ minChoices >= 0 ) { $ this -> minChoices = $ minChoices ; } else { $ msg = "The 'minChoices' argument must be a positive integer, '" . gettype ( $ minChoices ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the minimum number of choices that the candidate is allowed to
select.

@param integer $minChoices A positive (>= 0) integer.
@throws \InvalidArgumentException If $minChoices is not a positive integer.
Set the minimum number of choices that the candidate is allowed to select .