Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function merge(ThemeInterface $existingTheme, ThemeInterface $loadedTheme) |
||
39 | { |
||
40 | $loadedThemeProperties = $this->themeHydrator->extract($loadedTheme); |
||
41 | |||
42 | unset($loadedThemeProperties['id']); |
||
43 | |||
44 | return $this->themeHydrator->hydrate($loadedThemeProperties, $existingTheme); |
||
45 | } |
||
46 | } |
||
47 |