Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
369 B

5 years ago
  1. <?php
  2. namespace Zitec\RuleEngineBundle\Service;
  3. use Zitec\RuleEngineBundle\Entity\Rule;
  4. /**
  5. * Interface RuleEvaluatorInterface
  6. */
  7. interface RuleEvaluatorInterface
  8. {
  9. /**
  10. * @param Rule $rule
  11. * @param RuleContextInterface $contextObject
  12. * @return bool
  13. */
  14. public function evaluate(Rule $rule, RuleContextInterface $contextObject): bool;
  15. }