src/Globals/Globals.php
/**
	 * @param string $key - collection name
	 * @return GlobalsCollection
	 */
@param string $key - collection name
@return GlobalsCollection
@param string $key - collection name @return GlobalsCollection
public static function of(string $key): GlobalsCollection
	{
		if (!isset(self::$collections[$key])) {
			self::$collections[$key] = new GlobalsCollection($key);
		}
		return self::$collections[$key];
	}
public static function of ( string $ key ) : GlobalsCollection { if ( ! isset ( self :: $ collections [ $ key ] ) ) { self :: $ collections [ $ key ] = new GlobalsCollection ( $ key ) ; } return self :: $ collections [ $ key ] ; }
@param string $key - collection name
 @return GlobalsCollection
@param string $key - collection name @return GlobalsCollection