public static function between($value, $lowerLimit, $upperLimit, $message = null, $propertyPath = null)
{
if ($lowerLimit > $value || $value > $upperLimit) {
$message = sprintf($message ?: 'Provided "%s" is neither greater than or equal to "%s" nor less than or equal to "%s".', static::stringify($value), static::stringify($lowerLimit), static::stringify($upperLimit));
throw static::createException($value, $message, static::INVALID_BETWEEN, $propertyPath);
}
return true;
}