| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class VendorConfigExtractor implements \Vaimo\ComposerPatches\Interfaces\PackageConfigExtractorInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \Vaimo\ComposerPatches\Package\InfoResolver |
||
| 14 | */ |
||
| 15 | private $packageInfoResolver; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \Vaimo\ComposerPatches\Package\ConfigReader |
||
| 19 | */ |
||
| 20 | private $configLoader; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param \Vaimo\ComposerPatches\Package\InfoResolver $packageInfoResolver |
||
| 24 | */ |
||
| 25 | public function __construct( |
||
| 26 | \Vaimo\ComposerPatches\Package\InfoResolver $packageInfoResolver |
||
| 27 | ) { |
||
| 28 | $this->packageInfoResolver = $packageInfoResolver; |
||
| 29 | |||
| 30 | $this->configLoader = new \Vaimo\ComposerPatches\Package\ConfigReader(); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getConfig(\Composer\Package\PackageInterface $package, $configKey) |
||
| 50 | } |
||
| 51 | } |
||
| 52 |