Emits connect.before.each and connect.after.each events before and
after connection attempts are established, respectively.
Emits a connect.error event if a connection attempt fails.
public addConnection ( Phergie\Irc\ConnectionInterface $connection ) | ||
$connection | Phergie\Irc\ConnectionInterface | Metadata for connection to establish |