Documentation

PayloadConverterInterface

Table of Contents

Methods

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

Methods

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
Tags
throws
DataConverterException
Return values
Payload|null

        
On this page

Search results