public function setMin($min)
    {
        if (is_int($min) || Format::isVariableRef($max)) {
            $this->min = $min;
        } else {
            $msg = "'Min' must be an integer, '" . gettype($min) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMin($min)
    {
        if (is_int($min) || Format::isVariableRef($max)) {
            $this->min = $min;
        } else {
            $msg = "'Min' must be an integer, '" . gettype($min) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMin ( $ min ) { if ( is_int ( $ min ) || Format :: isVariableRef ( $ max ) ) { $ this -> min = $ min ; } else { $ msg = "'Min' must be an integer, '" . gettype ( $ min ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the value of the min attribute.

@param integer $min
@throws \InvalidArgumentException
Set the value of the min attribute .