phalconplus Documentation v1.0.0-rc-1
Source
Class PhalconPlus Assert

# Assertion

Methods

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

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)