original_string: private function processModules(DependencyInjectionContainer $dic, array $modules, array &$config) {
  		/** @noinspection PhpInternalEntityUsedInspection */
  		$dependencyGraph = new ModuleDependencyGraph();
  		$dependencyGraph->addModules($modules);
  		$modules = $dependencyGraph->getSortedModuleList();
  
  		foreach ($modules as $module) {
  			$this->loadModuleConfiguration($module, $config);
  		}
  
  		foreach ($modules as $module) {
  			$module->configureDependencyInjection($dic, $config[$module->getModuleKey()], $config);
  		}
  	}
code: private function processModules(DependencyInjectionContainer $dic, array $modules, array &$config) {
  		/** @noinspection PhpInternalEntityUsedInspection */
  		$dependencyGraph = new ModuleDependencyGraph();
  		$dependencyGraph->addModules($modules);
  		$modules = $dependencyGraph->getSortedModuleList();
  
  		foreach ($modules as $module) {
  			$this->loadModuleConfiguration($module, $config);
  		}
  
  		foreach ($modules as $module) {
  			$module->configureDependencyInjection($dic, $config[$module->getModuleKey()], $config);
  		}
  	}
code_tokens: private function processModules ( DependencyInjectionContainer $ dic , array $ modules , array & $ config ) { /** @noinspection PhpInternalEntityUsedInspection */ $ dependencyGraph = new ModuleDependencyGraph ( ) ; $ dependencyGraph -> addModules ( $ modules ) ; $ modules = $ dependencyGraph -> getSortedModuleList ( ) ; foreach ( $ modules as $ module ) { $ this -> loadModuleConfiguration ( $ module , $ config ) ; } foreach ( $ modules as $ module ) { $ module -> configureDependencyInjection ( $ dic , $ config [ $ module -> getModuleKey ( ) ] , $ config ) ; } }
docstring: Process modules after initial loading.
  
  @param DependencyInjectionContainer $dic
  @param array                        $modules
  @param array                        $config
docstring_tokens: Process modules after initial loading .