private function getClassFor($name)
    {
        $test = strtolower($name);
        foreach ($this->types as $class => $matchers) {
            foreach ($matchers as $matcher) {
                if ($test === $matcher) {
                    return $class;
                }
            }
        }
        return $this->genericType;
    }
private function getClassFor($name)
    {
        $test = strtolower($name);
        foreach ($this->types as $class => $matchers) {
            foreach ($matchers as $matcher) {
                if ($test === $matcher) {
                    return $class;
                }
            }
        }
        return $this->genericType;
    }
private function getClassFor ( $ name ) { $ test = strtolower ( $ name ) ; foreach ( $ this -> types as $ class => $ matchers ) { foreach ( $ matchers as $ matcher ) { if ( $ test === $ matcher ) { return $ class ; } } } return $ this -> genericType ; }
Returns the name of an AbstractHeader class for the passed header name.

@param string $name
@return string
Returns the name of an AbstractHeader class for the passed header name .