| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 18 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 30 | public function process($target, $label, $data, array $ownerConfig) | ||
| 31 |     { | ||
| 32 | $data = $this->sourceResolver->updateSourceDeclaration($label, $data); | ||
| 33 | |||
| 34 | $config = array(); | ||
| 35 | |||
| 36 |         foreach ($this->components as $component) { | ||
| 37 | $updates = $component->normalize($target, $label, $data, $ownerConfig); | ||
| 38 | |||
| 39 |             if (empty($updates)) { | ||
| 40 | continue; | ||
| 41 | } | ||
| 42 | |||
| 43 | $config = array_replace($config, $updates); | ||
| 44 | $data = array_replace($data, $updates); | ||
| 45 | } | ||
| 46 | |||
| 47 | return $config; | ||
| 48 | } | ||
| 50 |