download_zip_url() публичный статический Метод

# @see download_archive_url
public static download_zip_url ( $options = [] )
Пример #1
0
 public function test_download_zip_url()
 {
     $result = Cloudinary::download_zip_url(array("tags" => $this->tag));
     $file = tempnam("tmp", "zip");
     file_put_contents($file, file_get_contents($result));
     $zip = new ZipArchive();
     $zip->open($file);
     $this->assertEquals(2, $zip->numFiles);
     unlink($file);
 }