| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Normalizer |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \Vaimo\ComposerPatches\Interfaces\DefinitionNormalizerComponentInterface[] |
||
| 12 | */ |
||
| 13 | private $components; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Vaimo\ComposerPatches\Patch\Definition\SourceResolver |
||
| 17 | */ |
||
| 18 | private $sourceResolver; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Vaimo\ComposerPatches\Interfaces\DefinitionNormalizerComponentInterface[] $components |
||
| 22 | */ |
||
| 23 | public function __construct( |
||
| 24 | array $components |
||
| 25 | ) { |
||
| 26 | $this->components = $components; |
||
| 27 | $this->sourceResolver = new \Vaimo\ComposerPatches\Patch\Definition\SourceResolver(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function process($target, $label, $data, array $ownerConfig) |
||
| 48 | } |
||
| 49 | } |
||
| 50 |