src/Viserio/Component/Filesystem/Filesystem.php
public function copyDirectory(string $directory, string $destination, array $options = []): bool
    {
        if (! $this->isDirectory($directory)) {
            return false;
        }

        try {
            $this->mirror($directory, $destination, null, $options);
        } catch (SymfonyIOException $e) {
            return false;
        }

        return true;
    }
public function copyDirectory(string $directory, string $destination, array $options = []): bool
    {
        if (! $this->isDirectory($directory)) {
            return false;
        }

        try {
            $this->mirror($directory, $destination, null, $options);
        } catch (SymfonyIOException $e) {
            return false;
        }

        return true;
    }
{@inheritdoc}