private static function loadDependency($parameterClass) {
		if (!isset(self::$instance[$parameterClass])) {
			/** @var DependencyManager $parameterDependency */
			$parameterDependency = $parameterClass;

			self::$loading[$parameterClass] = true;
			self::$instance[$parameterClass] = $parameterDependency::init();
		}

		return self::$instance[$parameterClass];
	}
private static function loadDependency($parameterClass) {
		if (!isset(self::$instance[$parameterClass])) {
			/** @var DependencyManager $parameterDependency */
			$parameterDependency = $parameterClass;

			self::$loading[$parameterClass] = true;
			self::$instance[$parameterClass] = $parameterDependency::init();
		}

		return self::$instance[$parameterClass];
	}
private static function loadDependency ( $ parameterClass ) { if ( ! isset ( self :: $ instance [ $ parameterClass ] ) ) { /** @var DependencyManager $parameterDependency */ $ parameterDependency = $ parameterClass ; self :: $ loading [ $ parameterClass ] = true ; self :: $ instance [ $ parameterClass ] = $ parameterDependency :: init ( ) ; } return self :: $ instance [ $ parameterClass ] ; }
Load a dependency from a class name. It is loaded when it is not initialized yet.

@param string|static $parameterClass
@return static
Load a dependency from a class name . It is loaded when it is not initialized yet .