private function mirror($type, $path, FilesystemInterface $remote, AdapterInterface $remoteAdapter) { if ($type === 'dir') { $this->mirrorDirectory($path, $remote, $remoteAdapter); return; } $this->mirrorFile($path, $remote, $remoteAdapter); }