File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1010
1111class ContentType
1212{
13- public static $ Text = 'text/plain ' ;
14- public static $ Html = 'text/html ' ;
15- public static $ Png = 'image/png ' ;
16- public static $ Pdf = 'application/pdf ' ;
17- public static $ Json = 'application/json ' ;
18- public static $ Form = 'application/x-www-form-urlencoded ' ;
19- public static $ Data = 'multipart/form-data ' ;
13+ public const Html = 'text/html ' ;
14+ public const Text = 'text/plain ' ;
15+ public const Gif = 'image/gif ' ;
16+ public const Png = 'image/png ' ;
17+ public const Jpeg = 'image/jpeg ' ;
18+ public const Json = 'application/json ' ;
19+ public const Pdf = 'application/pdf ' ;
20+ public const Form = 'application/x-www-form-urlencoded ' ;
21+ public const Data = 'multipart/form-data ' ;
2022}
You can’t perform that action at this time.
0 commit comments