| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 13 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| 1 | <?php | ||
| 25 | 2 | public static function make( | |
| 26 | Types $types, | ||
| 27 | array $factories, | ||
| 28 | ConfigurationInterface $config | ||
| 29 |     ): MetadataBuilder { | ||
| 30 | 2 |         $map = new Map('string', MetadataFactoryInterface::class); | |
| 31 | |||
| 32 | 2 |         foreach ($factories as $meta => $factory) { | |
| 33 | 2 | $map = $map->put($meta, $factory); | |
| 34 | } | ||
| 35 | |||
| 36 | 2 | return new MetadataBuilder($types, $map, $config); | |
| 37 | } | ||
| 38 | } | ||
| 39 |