WebSocket Events Documentation
TopPHP
Components
Bot
Bots
User
Users
TopPHP
Parts
Cache
Collection
Http
Parts
Webhooks
EventLoop
Webhook
TopPHP\Parts\
Collection
P
$collector
: object
M
__construct()
:
M
set()
: void
M
add()
: void
M
get()
: mixed
M
remove()
: void
M
count()
: int
M
index()
: array
M
foreach()
: void
M
all()
: object
$collector
protected
object
$collector;
__construct()
__construct(
object
$existingCollector=null )
Parameters
$existingCollector=null
object
:
set()
public
set(
string
$key ,
mixed
$value ) :
void
Parameters
$key
string
:
$value
mixed
:
add()
public
add(
string
$key ,
mixed
$value ) :
void
Parameters
$key
string
:
$value
mixed
:
get()
public
get(
string
$key ) :
mixed
Parameters
$key
string
:
remove()
public
remove(
string
$key ) :
void
Parameters
$key
string
:
count()
public
count(
) :
int
index()
public
index(
) :
array
foreach()
public
foreach(
callable
$callback ) :
void
Parameters
$callback
callable
:
all()
public
all(
) :
object
Powered by
OxedDocs