src/Negotiator/Negotiator.php
private function matchClientPreferences($fromField, array $clientPrefList, array $matchingList)
    {
        foreach ($clientPrefList as $clientPref) {
            $matchingList = $this->matchSingleClientPreference($fromField, $clientPref, $matchingList);
        }

        return $matchingList;
    }
private function matchClientPreferences($fromField, array $clientPrefList, array $matchingList)
    {
        foreach ($clientPrefList as $clientPref) {
            $matchingList = $this->matchSingleClientPreference($fromField, $clientPref, $matchingList);
        }

        return $matchingList;
    }
private function matchClientPreferences ( $ fromField , array $ clientPrefList , array $ matchingList ) { foreach ( $ clientPrefList as $ clientPref ) { $ matchingList = $ this -> matchSingleClientPreference ( $ fromField , $ clientPref , $ matchingList ) ; } return $ matchingList ; }
Match client variants to server variants.

@param string $fromField
@param PreferenceInterface[] $clientPrefList
@param MatchedPreferenceInterface[] $matchingList

@return MatchedPreferenceInterface[]
Match client variants to server variants .