Total Complexity | 6 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class DeleteMutation implements MutationInterface |
||
14 | { |
||
15 | |||
16 | private $paths; |
||
17 | |||
18 | public function __construct(PathInterface ...$paths) |
||
21 | } |
||
22 | |||
23 | public function __invoke(EventInterface $event, ValueWalkerInterface $valueWalker): Iterator |
||
24 | { |
||
25 | return $this->createEventGenerator($event); |
||
26 | } |
||
27 | |||
28 | public function reset(): void |
||
30 | } |
||
31 | |||
32 | private function createEventGenerator(EventInterface $event): Generator |
||
42 |