Temporal Docs PHP SDK API Version 2.20 (latest release) Release notes

Documentation

BinaryConverter extends Converter
in package

Table of Contents

Methods

fromPayload()  : Bytes
getEncodingType()  : string
Returns associated encoding type.
toPayload()  : Payload|null
Implements conversion of a single value to Payload. Must return null if value can't be encoded.
create()  : Payload

Methods

getEncodingType()

Returns associated encoding type.

public getEncodingType() : string
Return values
string

toPayload()

Implements conversion of a single value to Payload. Must return null if value can't be encoded.

public toPayload(mixed $value) : Payload|null
Parameters
$value : mixed
Return values
Payload|null

create()

protected create(string $data) : Payload
Parameters
$data : string
Return values
Payload
On this page

Search results