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

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

private mirrorDirectory ( string $path, League\Flysystem\FilesystemInterface $remote, League\Flysystem\AdapterInterface $remoteAdapter )
$path string
$remote League\Flysystem\FilesystemInterface
$remoteAdapter League\Flysystem\AdapterInterface
    private function mirrorDirectory($path, FilesystemInterface $remote, AdapterInterface $remoteAdapter)
    {
        if (!$remote->has($path) && !$remote->createDir($path)) {
            throw $this->createRuntimeException('Directory', $path, 'created', $remoteAdapter);
        }
    }