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.');
		}
	}
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.');
		}
	}
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.' ) ; } }
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
Returns a module that has been set as required . This is only available after the constructor has finished .