-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8fb3e4
commit 4725683
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* @author: Doug Wilbourne (dougwilbourne@gmail.com) | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace pvc\interfaces\http\mimetype; | ||
|
||
/** | ||
* Class MimeTypesInterface | ||
*/ | ||
interface MimeTypesInterface | ||
{ | ||
/** | ||
* getMimeType | ||
* @param string $fileExt | ||
* @return string | ||
*/ | ||
public function getMimeType(string $fileExt): string; | ||
|
||
/** | ||
* getExtensions | ||
* @param string $mimeType | ||
* @return array<string> | ||
*/ | ||
public function getExtensions(string $mimeType): array; | ||
} |