public static function & GetNamespace (
		$name = \MvcCore\ISession::DEFAULT_NAMESPACE_NAME
	) {
		if (!static::GetStarted()) static::Start();
		if (!isset(static::$instances[$name])) {
			static::$instances[$name] = new static($name);
		}
		/** @var $result \MvcCore\Session */
		$result = & static::$instances[$name];
		return $result;
	}
public static function & GetNamespace (
		$name = \MvcCore\ISession::DEFAULT_NAMESPACE_NAME
	) {
		if (!static::GetStarted()) static::Start();
		if (!isset(static::$instances[$name])) {
			static::$instances[$name] = new static($name);
		}
		/** @var $result \MvcCore\Session */
		$result = & static::$instances[$name];
		return $result;
	}
public static function & GetNamespace ( $ name = \ MvcCore \ ISession :: DEFAULT_NAMESPACE_NAME ) { if ( ! static :: GetStarted ( ) ) static :: Start ( ) ; if ( ! isset ( static :: $ instances [ $ name ] ) ) { static :: $ instances [ $ name ] = new static ( $ name ) ; } /** @var $result \MvcCore\Session */ $ result = & static :: $ instances [ $ name ] ; return $ result ; }
Get new or existing MvcCore session namespace instance.
If session is not started, start session.
@param string $name Session namespace unique name.
@return \MvcCore\Session|\MvcCore\ISession
Get new or existing MvcCore session namespace instance . If session is not started start session .