diff --git a/src/http/mimetype/MimeTypeInterface.php b/src/http/mimetype/MimeTypeInterface.php new file mode 100644 index 0000000..d8576a9 --- /dev/null +++ b/src/http/mimetype/MimeTypeInterface.php @@ -0,0 +1,29 @@ + + * an array of the file extensions associated with this mime type + */ + public function getExtensions(): array; +} diff --git a/src/http/mimetype/MimeTypesSrcInterface.php b/src/http/mimetype/MimeTypesSrcInterface.php new file mode 100644 index 0000000..c592e01 --- /dev/null +++ b/src/http/mimetype/MimeTypesSrcInterface.php @@ -0,0 +1,22 @@ + + * the key in the array is the name of the mime type + */ + public function getMimeTypes(): array; +}