src/Plugin.php
public function handleCommandHelp(Event $event, Queue $queue)
    {

        $params = $event->getCustomParams();
        $provider = $this->getProvider(
            ($event->getCustomCommand() === "help") ? $params[0] : $event->getCustomCommand()
        );

        if ($provider) {
            $this->sendIrcResponse($event, $queue, $provider->getHelpLines());
        }
    }
public function handleCommandHelp(Event $event, Queue $queue)
    {

        $params = $event->getCustomParams();
        $provider = $this->getProvider(
            ($event->getCustomCommand() === "help") ? $params[0] : $event->getCustomCommand()
        );

        if ($provider) {
            $this->sendIrcResponse($event, $queue, $provider->getHelpLines());
        }
    }
public function handleCommandHelp ( Event $ event , Queue $ queue ) { $ params = $ event -> getCustomParams ( ) ; $ provider = $ this -> getProvider ( ( $ event -> getCustomCommand ( ) === "help" ) ? $ params [ 0 ] : $ event -> getCustomCommand ( ) ) ; if ( $ provider ) { $ this -> sendIrcResponse ( $ event , $ queue , $ provider -> getHelpLines ( ) ) ; } }
Main plugin handler for help requests

@param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
@param \Phergie\Irc\Bot\React\EventQueueInterface $queue
Main plugin handler for help requests