« Swoole\Connection\Iterator::offsetGet
Swoole\Connection\Iterator::offsetUnset »

Swoole\Connection\Iterator::offsetSet

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetSet — Assign a Connection to the specified offset.

説明

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

Assign a Connection to the specified offset.

パラメータ

offset

The offset to assign the Connection to.

connection

The connection to set.

戻り値

関連キーワード:
Connection   offset   Swoole   Iterator   Assign   specified   offsetSet   connection   offsetGet   offsetUnset   swoole   mixed   assign
関連する関数・ページ:
class.swoole-connection-iterator   swoole-connection-iterator.offsetunset   swoole-connection-iterator.offsetget   swoole-connection-iterator.offsetexists   swoole-connection-iterator.next   swoole-connection-iterator.key