Php/docs/swoole-connection-iterator.offsetset

提供:Dev Guides
< Php
移動先:案内検索

Swoole\Connection\Iterator::offsetSet

(PECL swoole >= 1.9.0)

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


説明

public 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.


返り値