original_string: public function getRegistrationMethodValues($methodName)
      {
          if (isset($this->registrationMethodCache[$methodName])) {
              return $this->registrationMethodCache[$methodName];
          }
  
          $results = [];
          $plugins = $this->getPlugins();
  
          foreach ($plugins as $id => $plugin) {
              if (!method_exists($plugin, $methodName)) {
                  continue;
              }
  
              $results[$id] = $plugin->{$methodName}();
          }
  
          return $this->registrationMethodCache[$methodName] = $results;
      }
code: public function getRegistrationMethodValues($methodName)
      {
          if (isset($this->registrationMethodCache[$methodName])) {
              return $this->registrationMethodCache[$methodName];
          }
  
          $results = [];
          $plugins = $this->getPlugins();
  
          foreach ($plugins as $id => $plugin) {
              if (!method_exists($plugin, $methodName)) {
                  continue;
              }
  
              $results[$id] = $plugin->{$methodName}();
          }
  
          return $this->registrationMethodCache[$methodName] = $results;
      }
code_tokens: public function getRegistrationMethodValues ( $ methodName ) { if ( isset ( $ this -> registrationMethodCache [ $ methodName ] ) ) { return $ this -> registrationMethodCache [ $ methodName ] ; } $ results = [ ] ; $ plugins = $ this -> getPlugins ( ) ; foreach ( $ plugins as $ id => $ plugin ) { if ( ! method_exists ( $ plugin , $ methodName ) ) { continue ; } $ results [ $ id ] = $ plugin -> { $ methodName } ( ) ; } return $ this -> registrationMethodCache [ $ methodName ] = $ results ; }
docstring: Spins over every plugin object and collects the results of a method call.
  @param  string $methodName
  @return array
docstring_tokens: Spins over every plugin object and collects the results of a method call .