public function setMin($min)
    {
        if (is_numeric($min) || Format::isVariableRef($min)) {
            $this->min = $min;
        } else {
            $msg = "'Min' must be a numeric value or a variableRef, '" . gettype($min) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMin($min)
    {
        if (is_numeric($min) || Format::isVariableRef($min)) {
            $this->min = $min;
        } else {
            $msg = "'Min' must be a numeric value or a variableRef, '" . gettype($min) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMin ( $ min ) { if ( is_numeric ( $ min ) || Format :: isVariableRef ( $ min ) ) { $ this -> min = $ min ; } else { $ msg = "'Min' must be a numeric value or a variableRef, '" . gettype ( $ min ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the min attribute value.

@param number|string $min A float value, int value or a variableRef.
@throws \InvalidArgumentException If $min is not a numeric value nor a variableRef.
Set the min attribute value .