public function setBase($base)
    {
        if (is_int($base) === true || Format::isVariableRef($base) === true) {
            $this->base = $base;
        } else {
            $msg = "The 'base' argument must be an integer or a variable reference, '" . $base . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setBase($base)
    {
        if (is_int($base) === true || Format::isVariableRef($base) === true) {
            $this->base = $base;
        } else {
            $msg = "The 'base' argument must be an integer or a variable reference, '" . $base . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setBase ( $ base ) { if ( is_int ( $ base ) === true || Format :: isVariableRef ( $ base ) === true ) { $ this -> base = $ base ; } else { $ msg = "The 'base' argument must be an integer or a variable reference, '" . $ base . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the number base to use when converting integer variables to strings.

@param integer|string $base A base to use for conversion as an integer or a variable reference.
@throws \InvalidArgumentException If $base is not an integer nor a variable reference.
Set the number base to use when converting integer variables to strings .