Swoole\Connection\Iterator::offsetSet
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Assign a Connection to the specified offset.
Description
Swoole\Connection\Iterator::offsetSet(int $offset, mixed $connection): void
Assign a Connection to the specified offset.
Parameters
offsetThe offset to assign the Connection to.
connectionThe connection to set.