Server
FinalYes
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- builder() : Builder
- run() : TResult
Properties
$logger read-only
private
LoggerInterface
$logger
= new NullLogger()
$protocol read-only
private
Protocol
$protocol
Methods
__construct()
public
__construct(Protocol $protocol[, LoggerInterface $logger = new NullLogger() ]) : mixed
Parameters
- $protocol : Protocol
- $logger : LoggerInterface = new NullLogger()
builder()
public
static builder() : Builder
Return values
Builderrun()
public
run(TransportInterface<string|int, TResult> $transport) : TResult
Parameters
- $transport : TransportInterface<string|int, TResult>