Output extends Output
Table of Contents
Constants
- ERROR_ANSWER = 'ANSWER_MALFORMED'
- ERROR_NETWORK = 'NETWORK_ERROR'
Methods
- __construct() : mixed
- Output constructor.
- call() : Result
- Magic method for handling dynamic methods.
- instanceHttpClient() : HttpClient
Constants
ERROR_ANSWER
public
mixed
ERROR_ANSWER
= 'ANSWER_MALFORMED'
ERROR_NETWORK
public
mixed
ERROR_NETWORK
= 'NETWORK_ERROR'
Methods
__construct()
Output constructor.
public
__construct(string $connectorId[, string|bool $line = false ]) : mixed
Parameters
- $connectorId : string
-
Mnemonic connector name.
- $line : string|bool = false
-
Open line ID.
call()
Magic method for handling dynamic methods.
public
call(string $name, array<string|int, mixed> $arguments) : Result
Parameters
- $name : string
-
The name of the called method.
- $arguments : array<string|int, mixed>
-
The set of parameters passed to the method.
Return values
ResultinstanceHttpClient()
public
instanceHttpClient([bool $waitResponse = false ]) : HttpClient
Parameters
- $waitResponse : bool = false