Swoole\Connection\Iterator
PHP Manual

Swoole\Connection\Iterator::offsetSet

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

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

Assign a Connection to the specified offset.

参数

offset

The offset to assign the Connection to.

connection

The connection to set.

返回值


Swoole\Connection\Iterator
PHP Manual