We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89aa62b commit a48e612Copy full SHA for a48e612
src/Enums/MimeType.php
@@ -6,8 +6,18 @@
6
7
enum MimeType: string
8
{
9
- case FILE_CSV = 'text/csv';
10
- case FILE_PDF = 'application/pdf';
+ case FILE_PDF = 'application/pdf'; // Will not rename to APPLICATION_PDF to keep the backwards compatibility
+ case APPLICATION_JAVASCRIPT = 'application/x-javascript';
11
+ case APPLICATION_PYTHON = 'application/x-python';
12
+
13
+ case TEXT_PLAIN = 'text/plain';
14
+ case TEXT_HTML = 'text/html';
15
+ case TEXT_CSS = 'text/css';
16
+ case TEXT_MARKDOWN = 'text/md';
17
+ case TEXT_CSV = 'text/csv';
18
+ case TEXT_XML = 'text/xml';
19
+ case TEXT_RTF = 'text/rtf';
20
21
case IMAGE_PNG = 'image/png';
22
case IMAGE_JPEG = 'image/jpeg';
23
case IMAGE_HEIC = 'image/heic';
0 commit comments