src/Plugin.php
public function pong(EventInterface $event, EventQueueInterface $queue)
    {
        $params = $event->getParams();
        $queue->ircPong($params['server1']);
    }
public function pong(EventInterface $event, EventQueueInterface $queue)
    {
        $params = $event->getParams();
        $queue->ircPong($params['server1']);
    }
public function pong ( EventInterface $ event , EventQueueInterface $ queue ) { $ params = $ event -> getParams ( ) ; $ queue -> ircPong ( $ params [ 'server1' ] ) ; }
Responds to server ping events.

@param \Phergie\Irc\Event\EventInterface $event Ping event to respond to
@param \Phergie\Irc\Bot\React\EventQueueInterface $queue
Responds to server ping events .