Swoole\Client::wakeup
Swoole\Connection\Iterator::count
Swoole
PHP Manual
The Swoole\Connection\Iterator class
(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Introduction
Class synopsis
Swoole\Connection\Iterator
implements
Iterator
,
Countable
,
ArrayAccess
{
/* Methods */
public
int
count
(
void
)
public
Connection
current
(
void
)
public
int
key
(
void
)
public
Connection
next
(
void
)
public
boolean
offsetExists
(
int
$index
)
public
Connection
offsetGet
(
string
$index
)
public
void
offsetSet
(
int
$offset
,
mixed
$connection
)
public
void
offsetUnset
(
int
$offset
)
public
void
rewind
(
void
)
public
boolean
valid
(
void
)
}
Table of Contents
Swoole\Connection\Iterator::count
— Count connections.
Swoole\Connection\Iterator::current
— Return current connection entry.
Swoole\Connection\Iterator::key
— Return key of the current connection.
Swoole\Connection\Iterator::next
— Move to the next connection.
Swoole\Connection\Iterator::offsetExists
— Check if offet exists.
Swoole\Connection\Iterator::offsetGet
— Offset to retrieve.
Swoole\Connection\Iterator::offsetSet
— Assign a Connection to the specified offset.
Swoole\Connection\Iterator::offsetUnset
— Unset an offset.
Swoole\Connection\Iterator::rewind
— Rewinds iterator
Swoole\Connection\Iterator::valid
— Check if current position is valid.
Swoole\Client::wakeup
Swoole\Connection\Iterator::count
Swoole
PHP Manual