<?php array_filter(array $array, ?callable $callback = null, int $mode = 0): array
<?php $visibility = $config->get(Config::OPTION_DIRECTORY_VISIBILITY); $archive = $this->zipArchiveProvider->createZipArchive(); $prefixedDirname = $this->pathPrefixer->prefixDirectoryPath($dirname); $parts = array_filter(explode('/', trim($prefixedDirname, '/'))); $dirPath = '/'; foreach ($parts as $part) {