public function getUserData() : FilesystemInterface
    {
        if ($this->connectionType == self::CONNECTION_TYPE_LOCAL) {
            return $this->getLocalAdapter();
        } else {
            return $this->remoteAdapter;
        }
    }
public function getUserData() : FilesystemInterface
    {
        if ($this->connectionType == self::CONNECTION_TYPE_LOCAL) {
            return $this->getLocalAdapter();
        } else {
            return $this->remoteAdapter;
        }
    }
public function getUserData ( ) : FilesystemInterface { if ( $ this -> connectionType == self :: CONNECTION_TYPE_LOCAL ) { return $ this -> getLocalAdapter ( ) ; } else { return $ this -> remoteAdapter ; } }
Get Filesystem adapter for the user data directory of the dedicated server.

@return FilesystemInterface
Get Filesystem adapter for the user data directory of the dedicated server .