public static function min($value, $minValue, $message = null, $propertyPath = null)
{
static::numeric($value, $message, $propertyPath);
if ($value < $minValue) {
$message = sprintf($message ?: 'Number "%s" was expected to be at least "%s".', static::stringify($value), static::stringify($minValue));
throw static::createException($value, $message, static::INVALID_MIN, $propertyPath, array('min' => $minValue));
}
return true;
}