| Total Complexity | 6 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class FilterDataOperation extends AbstractChainOperation implements DataChainOperationInterface |
||
| 14 | { |
||
| 15 | protected RuleApplier $ruleApplier; |
||
| 16 | |||
| 17 | protected array $rule; |
||
| 18 | |||
| 19 | protected bool $negate; |
||
| 20 | |||
| 21 | public function __construct(RuleApplier $ruleApplier, array $rule, bool $negate) |
||
| 22 | { |
||
| 23 | $this->ruleApplier = $ruleApplier; |
||
| 24 | $this->rule = $rule; |
||
| 25 | $this->negate = $negate; |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | public function processData(DataItemInterface $item, ExecutionContext $context): ItemInterface |
||
| 41 | } |
||
| 42 | } |