original_string: protected function getRequiredModule(string $className) {
  		if (\array_key_exists($className, $this->modules)) {
  			return $this->modules[$className];
  		} else {
  			throw new ConfigurationException(__CLASS__ . ' tried to request module ' . $className .
  				', but it was not listed as a dependency or has not yet added.');
  		}
  	}
code: protected function getRequiredModule(string $className) {
  		if (\array_key_exists($className, $this->modules)) {
  			return $this->modules[$className];
  		} else {
  			throw new ConfigurationException(__CLASS__ . ' tried to request module ' . $className .
  				', but it was not listed as a dependency or has not yet added.');
  		}
  	}
code_tokens: protected function getRequiredModule ( string $ className ) { if ( \ array_key_exists ( $ className , $ this -> modules ) ) { return $ this -> modules [ $ className ] ; } else { throw new ConfigurationException ( __CLASS__ . ' tried to request module ' . $ className . ', but it was not listed as a dependency or has not yet added.' ) ; } }
docstring: Returns a module that has been set as required. This is only available after the constructor has finished.
  
  @param string $className
  
  @return Module
  
  @throws ConfigurationException
docstring_tokens: Returns a module that has been set as required . This is only available after the constructor has finished .