@@ 915-923 (lines=9) @@ | ||
912 | $this->bindingDescriptors = new BindingDescriptorCollection(); |
|
913 | ||
914 | // First load all the types |
|
915 | foreach ($this->modules as $module) { |
|
916 | if (null === $module->getModuleFile()) { |
|
917 | continue; |
|
918 | } |
|
919 | ||
920 | foreach ($module->getModuleFile()->getTypeDescriptors() as $typeDescriptor) { |
|
921 | $this->loadTypeDescriptor($typeDescriptor, $module)->execute(); |
|
922 | } |
|
923 | } |
|
924 | ||
925 | // Then the bindings for the loaded types |
|
926 | foreach ($this->modules as $module) { |
@@ 482-490 (lines=9) @@ | ||
479 | $this->conflicts = new ConflictCollection(); |
|
480 | ||
481 | // Load mappings |
|
482 | foreach ($this->modules as $module) { |
|
483 | if (null === $module->getModuleFile()) { |
|
484 | continue; |
|
485 | } |
|
486 | ||
487 | foreach ($module->getModuleFile()->getPathMappings() as $mapping) { |
|
488 | $this->loadPathMapping($mapping, $module)->execute(); |
|
489 | } |
|
490 | } |
|
491 | ||
492 | // Scan all paths for conflicts |
|
493 | $this->updateConflicts($this->mappingsByResource->getRepositoryPaths())->execute(); |