Methods
-
createException(variable $value, variable $message, variable $code, variable $propertyPath, array $constraints) : void
-
-
-
-
-
-
-
range(variable $value, int $minValue, int $maxValue, variable $message, variable $propertyPath) : bool
-
-
-
-
-
-
Methods Details
-
protected static function createException(variable $value, variable $message, variable $code, variable $propertyPath, array $constraints)
-
public static function eq(variable $value1, variable $value2, variable $message, variable $propertyPath)
-
public static function notEq(variable $value1, variable $value2, variable $message, variable $propertyPath)
-
public static function same(variable $value1, variable $value2, variable $message, variable $propertyPath)
-
public static function notEmpty(variable $value, variable $message, variable $propertyPath)
-
public static function notNull(variable $value, variable $message, variable $propertyPath)
-
public static function numeric(variable $value, variable $message, variable $propertyPath)
-
public static function range(variable $value, int $minValue, int $maxValue, variable $message, variable $propertyPath)
-
public static function min(variable $value, int $minValue, variable $message, variable $propertyPath)
-
public static function max(variable $value, int $maxValue, variable $message, variable $propertyPath)
-
public static function isString(variable $value, variable $message, variable $propertyPath)
-
public static function isArray(variable $value, variable $message, variable $propertyPath)
-
public static function isJsonString(variable $value, variable $message, variable $propertyPath)
-
private static function stringify(variable $value)