public static function getMimeTypes($format)
    {
        if (null === static::$formats) {
            static::initializeFormats();
        }

        return isset(static::$formats[$format]) ? static::$formats[$format] : [];
    }
public static function getMimeTypes($format)
    {
        if (null === static::$formats) {
            static::initializeFormats();
        }

        return isset(static::$formats[$format]) ? static::$formats[$format] : [];
    }
public static function getMimeTypes ( $ format ) { if ( null === static :: $ formats ) { static :: initializeFormats ( ) ; } return isset ( static :: $ formats [ $ format ] ) ? static :: $ formats [ $ format ] : [ ] ; }
Gets the mime types associated with the format.

@param string $format The format

@return array The associated mime types
Gets the mime types associated with the format .