* @copyright Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ declare(strict_types=1); namespace phpOMS\Validation; /** * Validator interface. * * @category Validation * @package Framework * @author OMS Development Team * @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 */ public static function isValid($value); /** * Get most recent error string. * * @return string * * @since 1.0.0 */ public static function getMessage(); }