Skip to content

Commit

Permalink
Added font types to MimeType (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
danijelgalic committed Oct 17, 2024
1 parent c976b48 commit 8841250
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/support/enums/http/firehub.MimeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
/**
* ### HTTP content media type
* @since 1.0.0
*
* @link https://www.iana.org/assignments/media-types/media-types.xhtml For a complete list.
*/
enum MimeType:string implements InitBackedEnum {

Expand Down Expand Up @@ -96,6 +98,30 @@ enum MimeType:string implements InitBackedEnum {
*/
case AVIF = 'image/avif';

/**
* ### Woff Font Format
* @since 1.0.0
*/
case WOFF = 'font/woff';

/**
* ### Woff2 Font Format
* @since 1.0.0
*/
case WOFF2 = 'font/woff2';

/**
* ### TTF Font Format
* @since 1.0.0
*/
case TTF = 'font/ttf';

/**
* ### OTF Font Format
* @since 1.0.0
*/
case OTF = 'font/otf';

/**
* ### Graphics Interchange Format
* @since 1.0.0
Expand Down

0 comments on commit 8841250

Please sign in to comment.