Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class CallbackTransformerOperation extends AbstractChainOperation implements DataChainOperationInterface |
||
21 | { |
||
22 | protected $callback; |
||
23 | |||
24 | /** |
||
25 | * CallbackTransformerOperation constructor. |
||
26 | 5 | * |
|
27 | * @param $callback |
||
28 | 5 | */ |
|
29 | 5 | public function __construct($callback) |
|
32 | } |
||
33 | |||
34 | 5 | /** |
|
35 | * @inheritdoc |
||
36 | 5 | */ |
|
37 | 5 | public function processData(DataItemInterface $item, ExecutionContext $context): ItemInterface |
|
41 | } |
||
42 | } |