| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | final class VariantImagePathResolver implements VariantImagePathResolverInterface |
||
| 17 | { |
||
| 18 | private CacheManager $cacheManager; |
||
| 19 | |||
| 20 | private string $rootPath; |
||
| 21 | |||
| 22 | public function __construct(CacheManager $cacheManager, string $rootPath) |
||
| 23 | { |
||
| 24 | $this->cacheManager = $cacheManager; |
||
| 25 | $this->rootPath = $rootPath; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function resolve(ProductVariantInterface $variant, string $baseUrl): string |
||
| 41 | } |
||
| 42 | } |
||
| 43 |