AcmePhp\Cli\Action\AbstractFlysystemAction::mirror PHP Метод

mirror() приватный метод

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