Inpsyde\MultilingualPress\Module\Redirect\LanguageNegotiation\AcceptLanguageParser::get_values PHP Method

get_values() private method

Returns the array with the individual values of the given Accept header.
private get_values ( string $header ) : string[]
$header string Accept header string.
return string[] Array of values.
    private function get_values($header)
    {
        $values = explode(',', $header);
        $values = array_map('trim', $values);
        return $values;
    }