Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class SourcesPreloader |
||
11 | { |
||
12 | /** |
||
13 | * @var \Vaimo\ComposerPatches\Package\InfoResolver |
||
14 | */ |
||
15 | private $infoResolver; |
||
16 | |||
17 | /** |
||
18 | * @var \Vaimo\ComposerPatches\Utils\FileSystemUtils |
||
19 | */ |
||
20 | private $fileSystemUtils; |
||
21 | |||
22 | /** |
||
23 | * @param \Vaimo\ComposerPatches\Package\InfoResolver $infoResolver |
||
24 | */ |
||
25 | public function __construct( |
||
26 | \Vaimo\ComposerPatches\Package\InfoResolver $infoResolver |
||
27 | ) { |
||
28 | $this->infoResolver = $infoResolver; |
||
29 | |||
30 | $this->fileSystemUtils = new \Vaimo\ComposerPatches\Utils\FileSystemUtils(); |
||
31 | } |
||
32 | |||
33 | public function preload(PackageInterface $package) |
||
49 | } |
||
50 | } |
||
52 |