RuleInterface.php 461 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\Libs\Restrictions\Interfaces;
  3. /**
  4. *
  5. * Created by PhpStorm.
  6. * User: Tomasz Bielecki ( tomasz.bi@thurdata.com )
  7. * Date: 07.11.19
  8. * Time: 09:59
  9. * Class RuleInterface
  10. */
  11. interface RuleInterface
  12. {
  13. /**
  14. * check if rule is valid
  15. * @return mixed
  16. */
  17. public function isValid();
  18. /**
  19. * return message if rule is invalid
  20. * @return mixed
  21. */
  22. public function getMessage();
  23. }