Swoole\Connection\Iterator::offsetSet

Assign a Connection to the specified offset.

Description

public void Swoole\Connection\Iterator::offsetSet(int $offset, mixed $connection)

Assign a Connection to the specified offset.

Parameters

offset

The offset to assign the Connection to.

connection

The connection to set.

Return Values