private function processContentType($contentType)
    {
        foreach (explode(';', $contentType) as $type) {
            $type = strtolower(trim($type));
            if (isset($this->supported_formats[$type])) {
                return $this->supported_formats[$type];
            }
        }

        return false;
    }
private function processContentType($contentType)
    {
        foreach (explode(';', $contentType) as $type) {
            $type = strtolower(trim($type));
            if (isset($this->supported_formats[$type])) {
                return $this->supported_formats[$type];
            }
        }

        return false;
    }
private function processContentType ( $ contentType ) { foreach ( explode ( ';' , $ contentType ) as $ type ) { $ type = strtolower ( trim ( $ type ) ) ; if ( isset ( $ this -> supported_formats [ $ type ] ) ) { return $ this -> supported_formats [ $ type ] ; } } return false ; }
Process the content-type values

@param string $contentType Content-Type raw string

@return bool|string
Process the content - type values