Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class AppendPropertyMutation implements MutationInterface |
||
17 | { |
||
18 | |||
19 | private $value; |
||
20 | |||
21 | private $path; |
||
22 | |||
23 | private $propertyName; |
||
24 | |||
25 | public function __construct(NodeValueInterface $value, PathInterface $path, string $propertyName) |
||
26 | { |
||
27 | $this->value = $value; |
||
28 | $this->path = $path; |
||
29 | $this->propertyName = $propertyName; |
||
30 | } |
||
31 | |||
32 | public function __invoke(EventInterface $event, ValueWalkerInterface $valueWalker) |
||
33 | { |
||
34 | return $this->createEventGenerator($event, $valueWalker); |
||
35 | } |
||
36 | |||
37 | public function reset(): void |
||
38 | { |
||
39 | } |
||
40 | |||
41 | private function createEventGenerator(EventInterface $event, ValueWalkerInterface $valueWalker): Generator |
||
57 | } |
||
58 | } |
||
59 |