phalconplus Documentation v1.0.0-beta
Class PhalconPlus Assert

Assertion

Methods
  • createException(variable $value, variable $message, variable $code, variable $propertyPath, array $constraints)  :  void
  • eq(variable $value, variable $value2, variable $message, variable $propertyPath)  :  void
  • same(variable $value, variable $value2, variable $message, variable $propertyPath)  :  void
  • notEmpty(variable $value, variable $message, variable $propertyPath)  :  void
  • notNull(variable $value, variable $message, variable $propertyPath)  :  void
  • numeric(variable $value, variable $message, variable $propertyPath)  :  void
  • 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 $value, variable $value2, variable $message, variable $propertyPath)
  • public static function same(variable $value, 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)
  • private static function stringify(variable $value)