Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | public function collect(): ResourceSerializationContext |
||
53 | { |
||
54 | $serializationContext = new MutableSerializationContext([]); |
||
55 | |||
56 | foreach ($this->collectors as $collector) { |
||
57 | $context = $collector->collect(); |
||
58 | $serializationContext = $serializationContext->merge($context); |
||
59 | } |
||
60 | |||
61 | return $serializationContext->copy(); |
||
62 | } |
||
64 |