PHP Trait Zendesk\API\Traits\Resource\MultipartUpload

Exibir arquivo Open project: zendesk/zendesk_api_client_php

Public Methods

Method Description
getUploadName ( ) : String The using resource should define the upload name to use when uploading the file.
getUploadRequestMethod ( ) : String The using resource should define the upload name to use when uploading the file.
upload ( array $params, string $routeKey = __FUNCTION__ ) : null | stdClass Uploads an file with the given upload name.

Method Details

getUploadName() abstract public method

The using resource should define the upload name to use when uploading the file.
abstract public getUploadName ( ) : String
return String

getUploadRequestMethod() abstract public method

The using resource should define the upload name to use when uploading the file.
abstract public getUploadRequestMethod ( ) : String
return String

upload() public method

Uploads an file with the given upload name.
public upload ( array $params, string $routeKey = __FUNCTION__ ) : null | stdClass
$params array
$routeKey string
return null | stdClass