| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 13 | class MD5ThemePathBuilder extends AbstractThemePathBuilder |
||
| 14 | { |
||
| 15 | public function assemblePath(string $salesChannelId, string $themeId): string |
||
| 16 | { |
||
| 17 | return md5($themeId . $salesChannelId); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function generateNewPath(string $salesChannelId, string $themeId, string $seed): string |
||
| 21 | { |
||
| 22 | return $this->assemblePath($salesChannelId, $themeId); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function saveSeed(string $salesChannelId, string $themeId, string $seed): void |
||
| 27 | // do nothing, as this implementation does not support seeding |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getDecorated(): AbstractThemePathBuilder |
||
| 33 | } |
||
| 34 | } |
||
| 35 |