One
in package
uses
GraphQL
Table of Contents
Properties
- $http : Client|null
Methods
- createUploadLink() : mixed
- return createPresignedUrl object with 3 properties: downloadUrl: this url is the one used to direct download.
- getGQL() : GQL
- request() : object
- getCache() : mixed
- setCache() : mixed
Properties
$http
private
Client|null
$http
= null
Methods
createUploadLink()
return createPresignedUrl object with 3 properties: downloadUrl: this url is the one used to direct download.
public
createUploadLink(int $orgId, string $fileAlias) : mixed
clientMutationId: null url : HTTP PUT the file to this URL and attachment field content
Parameters
- $orgId : int
- $fileAlias : string
getGQL()
public
getGQL(mixed $name) : GQL
Parameters
- $name : mixed
Return values
GQLrequest()
public
request(GQL $gql) : object
Parameters
- $gql : GQL
Return values
objectgetCache()
private
getCache(string $cacheId) : mixed
Parameters
- $cacheId : string
setCache()
private
setCache(mixed $cacheId, mixed $response) : mixed
Parameters
- $cacheId : mixed
- $response : mixed