public static function classExists($value, $message = null, $propertyPath = null)
{
if (!class_exists($value)) {
$message = sprintf($message ?: 'Class "%s" does not exist.', static::stringify($value));
throw static::createException($value, $message, static::INVALID_CLASS, $propertyPath);
}
return true;
}