Documentation

ProtoConverter extends Converter
in package

Table of Contents

Methods

fromPayload()  : Message
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