public static function notBlank($value, $message = null, $propertyPath = null)
{
if (false === $value || empty($value) && '0' != $value || is_string($value) && '' === trim($value)) {
$message = sprintf($message ?: 'Value "%s" is blank, but was expected to contain a value.', static::stringify($value));
throw static::createException($value, $message, static::INVALID_NOT_BLANK, $propertyPath);
}
return true;
}