Swoole\Connection\Iterator::offsetSet

Swoole\Connection\Iterator::offsetSetAssign a Connection to the specified offset.

Description

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

Assign a Connection to the specified offset.

Parameters

offset

The offset to assign the Connection to.

connection

The connection to set.

Return Values