BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
league
/
mime-type-detection
/
src
📤 Upload
📝 New File
📁 New Folder
Close
Editing: MimeTypeDetector.php
<?php declare(strict_types=1); namespace League\MimeTypeDetection; interface MimeTypeDetector { /** * @param string|resource $contents */ public function detectMimeType(string $path, $contents): ?string; public function detectMimeTypeFromBuffer(string $contents): ?string; public function detectMimeTypeFromPath(string $path): ?string; public function detectMimeTypeFromFile(string $path): ?string; }
Save
Cancel