| 1 | <?php |
||
| 22 | final class RuleEvaluator implements RuleEvaluatorInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var LoggerInterface |
||
| 26 | */ |
||
| 27 | private $logger; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var ExpressionLanguage |
||
| 31 | */ |
||
| 32 | private $expression; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * RuleEvaluator constructor. |
||
| 36 | */ |
||
| 37 | 11 | public function __construct(LoggerInterface $logger) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 3 | public function evaluate(RuleInterface $rule, RuleSubjectInterface $subject) |
|
| 56 | } |
||
| 57 |