Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | 2 | public function __construct(FilesystemInterface $filesystem, string $jsonCatalogFilePath) |
|
29 | { |
||
30 | 2 | $contentMapper = new ContentMapper(); |
|
31 | 2 | $productMapper = new ProductMapper($contentMapper); |
|
32 | 2 | $catalogMapper = new CatalogMapper($productMapper); |
|
33 | |||
34 | 2 | $this->catalogProvider = new JSONCatalogProvider($filesystem, $jsonCatalogFilePath, $catalogMapper); |
|
35 | 2 | } |
|
36 | |||
48 | } |