return $this->
getRemoteFilesystem();
} return $this->
getLocalFilesystem();
} /**
* @return Filesystem
*/
private function getLocalFilesystem() { $adapter =
new LocalAdapter($this->baseDir
);
return new Filesystem($adapter);
} /**
* @return Filesystem
*/
private function getRemoteFilesystem() { $adapter =
new FtpAdapter( $this->remoteConfig
['path'
],