src/FlexiPeeHP/Formats.php
static public function contentTypeToSuffix($contentType)
    {
        $types = self::byContentType();
        return isset($types[$contentType]) ? $types[$contentType]['suffix'] : null;
    }
static public function contentTypeToSuffix($contentType)
    {
        $types = self::byContentType();
        return isset($types[$contentType]) ? $types[$contentType]['suffix'] : null;
    }
static public function contentTypeToSuffix ( $ contentType ) { $ types = self :: byContentType ( ) ; return isset ( $ types [ $ contentType ] ) ? $ types [ $ contentType ] [ 'suffix' ] : null ; }
Obtain Content-Type for given suffix

@param string $contentType
@return string
Obtain Content - Type for given suffix