<?php
namespace ThurData\Servers\KerioEmail\App\Libs\Restrictions\Interfaces;
/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 07.11.19
 * Time: 09:59
 * Class RuleInterface
 */
interface RuleInterface
{

    /**
     * check if rule is valid
     * @return mixed
     */
    public function isValid();

    /**
     * return message if rule is invalid
     * @return mixed
     */
    public function getMessage();

}