1 | <?php |
||
22 | final class RuleProcessor implements RuleProcessorInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var RuleRepositoryInterface |
||
26 | */ |
||
27 | private $ruleRepository; |
||
28 | |||
29 | /** |
||
30 | * @var RuleEvaluatorInterface |
||
31 | */ |
||
32 | private $ruleEvaluator; |
||
33 | |||
34 | /** |
||
35 | * @var RuleApplicatorInterface |
||
36 | */ |
||
37 | private $ruleApplicator; |
||
38 | |||
39 | /** |
||
40 | * RuleProcessor constructor. |
||
41 | * |
||
42 | * @param RuleRepositoryInterface $ruleRepository |
||
43 | * @param RuleEvaluatorInterface $ruleEvaluator |
||
44 | */ |
||
45 | 11 | public function __construct( |
|
54 | |||
55 | 9 | public function process(RuleSubjectInterface $subject) |
|
67 | } |
||
68 |