Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function createFromArray(array $arr): ThemeDescriptorInterface |
||
30 | { |
||
31 | $additionalContext = $arr['additionalContext']; |
||
32 | foreach ($additionalContext as $key => &$value) { |
||
33 | $value = $this->unserializeContextArray($value); |
||
34 | } |
||
35 | |||
36 | return new SubThemeDescriptor($this->aggregateThemeUnserializer->createFromArray($arr['theme']), $additionalContext); |
||
37 | } |
||
57 |