original_string: public function getSubscribedEvents()
      {
          $events = [];
          foreach ($this->providers as $command => $provider) {
              $events['command.' . $command] = 'handleCommand';
              $events['command.' . $command . '.help'] = 'handleCommandHelp';
          }
  
          return $events;
      }
code: public function getSubscribedEvents()
      {
          $events = [];
          foreach ($this->providers as $command => $provider) {
              $events['command.' . $command] = 'handleCommand';
              $events['command.' . $command . '.help'] = 'handleCommandHelp';
          }
  
          return $events;
      }
code_tokens: public function getSubscribedEvents ( ) { $ events = [ ] ; foreach ( $ this -> providers as $ command => $ provider ) { $ events [ 'command.' . $ command ] = 'handleCommand' ; $ events [ 'command.' . $ command . '.help' ] = 'handleCommandHelp' ; } return $ events ; }
docstring: Return an array of commands and associated methods
  
  @return array
docstring_tokens: Return an array of commands and associated methods