ProcessTickStack
in package
implements
Stringable
uses
StringableTrait
WebSocket\Middleware\ProcessTickStack class.
Worker stack for HTTP middleware implementations.
Table of Contents
Interfaces
Properties
- $connection : Connection
- $processors : array<string|int, mixed>
Methods
- __construct() : mixed
- Create ProcessStack.
- __toString() : string
- handleTick() : Message
- Process middleware for tick.
- stringable() : string
Properties
$connection
private
Connection
$connection
$processors
private
array<string|int, mixed>
$processors
Methods
__construct()
Create ProcessStack.
public
__construct(Connection $connection, array<string|int, mixed> $processors) : mixed
Parameters
- $connection : Connection
- $processors : array<string|int, mixed>
__toString()
public
__toString() : string
Return values
stringhandleTick()
Process middleware for tick.
public
handleTick() : Message
Return values
Messagestringable()
protected
stringable(string $format, mixed ...$values) : string
Parameters
- $format : string
- $values : mixed