Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Apply implements ModifierInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var callable |
||
16 | */ |
||
17 | private $apply; |
||
18 | |||
19 | /** |
||
20 | * Filter constructor. |
||
21 | * |
||
22 | * @param callable $apply |
||
23 | */ |
||
24 | 2 | public function __construct(callable $apply) |
|
27 | 2 | } |
|
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 1 | public function modify(NodeInterface $tree): NodeInterface |
|
42 |