Craft\RetourService::getMatchesList PHP Method

getMatchesList() public method

public getMatchesList ( ) : mixed
return mixed Returns the list of matching schemes
    public function getMatchesList()
    {
        $result = array('exactmatch' => Craft::t('Exact Match'), 'regexmatch' => Craft::t('RegEx Match'));
        /* -- Add any plugins that offer the retourMatch() method */
        foreach (craft()->plugins->getPlugins() as $plugin) {
            if (method_exists($plugin, "retourMatch")) {
                $result[$plugin->getClassHandle()] = $plugin->getName() . Craft::t(" Match");
            }
        }
        return $result;
    }