Cloudinary\Uploader::create_archive PHP Method

create_archive() public static method

# Creates a new archive in the server and returns information in JSON format
public static create_archive ( $options = [], $target_format = NULL )
    public static function create_archive($options = array(), $target_format = NULL)
    {
        $params = \Cloudinary::build_archive_params($options);
        if ($target_format != NULL) {
            $params["target_format"] = $target_format;
        }
        return Uploader::call_api("generate_archive", $params, $options);
    }