public function listZips(): array {

        return array_column(
            array_map(function($key, $archive) {
                return [ "key" => $key, "file" => $archive->getZipFile() ];
            }, array_keys($this->zip_archives), $this->zip_archives),
        "file", "key");

    }
public function listZips(): array {

        return array_column(
            array_map(function($key, $archive) {
                return [ "key" => $key, "file" => $archive->getZipFile() ];
            }, array_keys($this->zip_archives), $this->zip_archives),
        "file", "key");

    }
public function listZips ( ) : array { return array_column ( array_map ( function ( $ key , $ archive ) { return [ "key" => $ key , "file" => $ archive -> getZipFile ( ) ] ; } , array_keys ( $ this -> zip_archives ) , $ this -> zip_archives ) , "file" , "key" ) ; }
Get a list of all registered Zips filenames as an array

@return array
Get a list of all registered Zips filenames as an array