| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 14 | public function __invoke(AbstractModule $module): AbstractModule | ||
| 15 |     { | ||
| 16 | $module->install(new AssistedModule()); | ||
| 17 | $module->install(new ProviderSetModule()); | ||
| 18 | $module->install(new PramReaderModule()); | ||
| 19 | $hasMultiBindings = count($module->getContainer()->multiBindings); | ||
| 20 |         if ($hasMultiBindings) { | ||
| 21 | // Apply MapModule if multiple bindings are present | ||
| 22 | $module->override(new MapModule()); | ||
| 23 | } | ||
| 24 | |||
| 25 | return $module; | ||
| 26 | } | ||
| 28 |