ArrayChannelConnectionManager
class ArrayChannelConnectionManager implements ChannelConnectionManager
Properties
| protected ChannelConnection> | $connections | The underlying connections. |
Methods
for(string $name)
Get a channel connection manager for the given channel name.
void
void
ChannelConnection|null
ChannelConnection|null
findById(string $id)
Find a connection by its ID.
array
all()
Get all of the connections.
bool
isEmpty()
Determine whether any connections remain on the channel.
void
flush()
Flush the channel connection manager.
Details
at line 23
ChannelConnectionManager
for(string $name)
Get a channel connection manager for the given channel name.
at line 32
void
add(Connection $connection, array $data)
Add a connection.
at line 40
void
remove(Connection $connection)
Remove a connection.
at line 48
ChannelConnection|null
find(Connection $connection)
Find a connection.
at line 56
ChannelConnection|null
findById(string $id)
Find a connection by its ID.
at line 66
array
all()
Get all of the connections.
at line 74
bool
isEmpty()
Determine whether any connections remain on the channel.
at line 82
void
flush()
Flush the channel connection manager.