public static function addAdapter(string $name, AdapterInterface $adapter) {
		$adapter = new Filesystem($adapter);
		if (static::$manager == NULL && empty(self::$filesystems)) {
			self::init();
		}
		self::$filesystems[$name] = $adapter;
		static::$manager->mountFilesystem($name, $adapter);
	}
public static function addAdapter(string $name, AdapterInterface $adapter) {
		$adapter = new Filesystem($adapter);
		if (static::$manager == NULL && empty(self::$filesystems)) {
			self::init();
		}
		self::$filesystems[$name] = $adapter;
		static::$manager->mountFilesystem($name, $adapter);
	}
public static function addAdapter ( string $ name , AdapterInterface $ adapter ) { $ adapter = new Filesystem ( $ adapter ) ; if ( static :: $ manager == NULL && empty ( self :: $ filesystems ) ) { self :: init ( ) ; } self :: $ filesystems [ $ name ] = $ adapter ; static :: $ manager -> mountFilesystem ( $ name , $ adapter ) ; }
add an adapter

@param string           $name
@param AdapterInterface $adapter

@return void
add an adapter