public function setBase($base)
    {
        if (is_int($base) === true && $base >= 0) {
            $this->base = $base;
        } else {
            $msg = "The 'base' argument must be a positive (>= 0) integer value, '" . gettype($base) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setBase($base)
    {
        if (is_int($base) === true && $base >= 0) {
            $this->base = $base;
        } else {
            $msg = "The 'base' argument must be a positive (>= 0) integer value, '" . gettype($base) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setBase ( $ base ) { if ( is_int ( $ base ) === true && $ base >= 0 ) { $ this -> base = $ base ; } else { $ msg = "The 'base' argument must be a positive (>= 0) integer value, '" . gettype ( $ base ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
If the interaction is bound to a numeric response variable, get the number base in which
to interpret the value entered by the candidate.

@param integer $base A positive (>= 0) integer.
@throws \InvalidArgumentException If $base is not a positive integer.
If the interaction is bound to a numeric response variable get the number base in which to interpret the value entered by the candidate .