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