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
19 lines
369 B
<?php
|
|
|
|
namespace Zitec\RuleEngineBundle\Service;
|
|
|
|
use Zitec\RuleEngineBundle\Entity\Rule;
|
|
|
|
/**
|
|
* Interface RuleEvaluatorInterface
|
|
*/
|
|
interface RuleEvaluatorInterface
|
|
{
|
|
|
|
/**
|
|
* @param Rule $rule
|
|
* @param RuleContextInterface $contextObject
|
|
* @return bool
|
|
*/
|
|
public function evaluate(Rule $rule, RuleContextInterface $contextObject): bool;
|
|
}
|