public function getSubscribedEvents()
    {
        $subscribedEvents = array();
        foreach ($this->validProviders as $provider => $class) {
            $subscribedEvents['command.' . $provider] = 'handleCommand';
            $subscribedEvents['command.' . $provider . '.help'] = 'handleCommandHelp';
        }
        return $subscribedEvents;
    }
public function getSubscribedEvents()
    {
        $subscribedEvents = array();
        foreach ($this->validProviders as $provider => $class) {
            $subscribedEvents['command.' . $provider] = 'handleCommand';
            $subscribedEvents['command.' . $provider . '.help'] = 'handleCommandHelp';
        }
        return $subscribedEvents;
    }
public function getSubscribedEvents ( ) { $ subscribedEvents = array ( ) ; foreach ( $ this -> validProviders as $ provider => $ class ) { $ subscribedEvents [ 'command.' . $ provider ] = 'handleCommand' ; $ subscribedEvents [ 'command.' . $ provider . '.help' ] = 'handleCommandHelp' ; } return $ subscribedEvents ; }
Return array of subscribed events

@return array
Return array of subscribed events