src/Plugin.php
public function handleHelpCommand(CommandEvent $event, EventQueueInterface $queue)
    {
        $params = $event->getCustomParams();
        if ($params) {
            $command = strtolower(reset($params));
            $eventName = 'command.' . $command . '.help';
            $this->getEventEmitter()->emit($eventName, array($event, $queue));
        } else {
            $this->listCommands($event, $queue);
        }
    }
public function handleHelpCommand(CommandEvent $event, EventQueueInterface $queue)
    {
        $params = $event->getCustomParams();
        if ($params) {
            $command = strtolower(reset($params));
            $eventName = 'command.' . $command . '.help';
            $this->getEventEmitter()->emit($eventName, array($event, $queue));
        } else {
            $this->listCommands($event, $queue);
        }
    }
public function handleHelpCommand ( CommandEvent $ event , EventQueueInterface $ queue ) { $ params = $ event -> getCustomParams ( ) ; if ( $ params ) { $ command = strtolower ( reset ( $ params ) ) ; $ eventName = 'command.' . $ command . '.help' ; $ this -> getEventEmitter ( ) -> emit ( $ eventName , array ( $ event , $ queue ) ) ; } else { $ this -> listCommands ( $ event , $ queue ) ; } }
Responds to the help command.

@param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
@param \Phergie\Irc\Bot\React\EventQueueInterface $queue
Responds to the help command .