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;
    }
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;
    }
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 ; }
Spins over every plugin object and collects the results of a method call.
@param  string $methodName
@return array
Spins over every plugin object and collects the results of a method call .