on()
on( $event, callable $listener)
Parameters
$event | ||
callable | $listener |
Interface for an IRC client implementation.
addConnection(\Phergie\Irc\ConnectionInterface $connection)
Initializes an IRC connection.
\Phergie\Irc\ConnectionInterface | $connection | Metadata for connection to establish |
if unable to establish the connection
run(\Phergie\Irc\ConnectionInterface|\Phergie\Irc\ConnectionInterface[] $connections)
Executes the event loop, which continues running until no active connections remain.
\Phergie\Irc\ConnectionInterface|\Phergie\Irc\ConnectionInterface[] | $connections |