interface Processor (View source)

Methods

__construct($encoding, LoggerInterface $logger)

Build the processor

string
encode(array $requests)

Encode request(s)

mixed
decode(string $response)

Decode response

Details

__construct($encoding, LoggerInterface $logger)

Build the processor

Parameters

$encoding
LoggerInterface $logger

Exceptions

Exception

string encode(array $requests)

Encode request(s)

Parameters

array $requests

Return Value

string

Exceptions

Exception

mixed decode(string $response)

Decode response

Parameters

string $response

Return Value

mixed

Exceptions

Exception