* @author Dennis Eichhorn * @copyright 2013 Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ namespace phpOMS\Validation; /** * Validator interface. * * @category Validation * @package Framework * @author OMS Development Team * @author Dennis Eichhorn * @license OMS License 1.0 * @link http://orange-management.com * @since 1.0.0 */ interface ValidatorInterface { /** * Check if value is valid. * * @param mixed $value Value to validate * * @return bool * * @since 1.0.0 * @author Dennis Eichhorn */ public static function isValid($value); /** * Get most recent error string. * * @return string * * @since 1.0.0 * @author Dennis Eichhorn */ public static function getMessage(); }