src/Rocketeer/Services/Filesystem/MountManager.php
public function mountCurrentFilesystems()
    {
        $connections = $this->connections->getConnections()->all();

        // Mount current connection as remote://
        $current = $this->connections->getCurrentConnectionKey()->toHandle();
        if (isset($connections[$current])) {
            $connections['remote'] = $connections[$current];
        }

        $this->mountFilesystems($connections);
    }
public function mountCurrentFilesystems()
    {
        $connections = $this->connections->getConnections()->all();

        // Mount current connection as remote://
        $current = $this->connections->getCurrentConnectionKey()->toHandle();
        if (isset($connections[$current])) {
            $connections['remote'] = $connections[$current];
        }

        $this->mountFilesystems($connections);
    }
public function mountCurrentFilesystems ( ) { $ connections = $ this -> connections -> getConnections ( ) -> all ( ) ; // Mount current connection as remote:// $ current = $ this -> connections -> getCurrentConnectionKey ( ) -> toHandle ( ) ; if ( isset ( $ connections [ $ current ] ) ) { $ connections [ 'remote' ] = $ connections [ $ current ] ; } $ this -> mountFilesystems ( $ connections ) ; }
Gather the remote filesystems to mount.

@return Filesystem[]
Gather the remote filesystems to mount .