protected static function loadFromCacheById($id)
    {
        $instance = false;

        if (true === isset(self::$cache[$id])) {
            $instance = self::$cache[$id];
        }

        return $instance;
    }
protected static function loadFromCacheById($id)
    {
        $instance = false;

        if (true === isset(self::$cache[$id])) {
            $instance = self::$cache[$id];
        }

        return $instance;
    }
protected static function loadFromCacheById ( $ id ) { $ instance = false ; if ( true === isset ( self :: $ cache [ $ id ] ) ) { $ instance = self :: $ cache [ $ id ] ; } return $ instance ; }
Returns a previously created instance from runtime cache.
To speedup execution and mapping of dependencies.

@param string $id The Id to return dependencies for

@author Benjamin Carl <opensource@clickalicious.de>

@return object|bool The loaded instance on success, otherwise FALSE
@static
Returns a previously created instance from runtime cache . To speedup execution and mapping of dependencies .