App\services\UploadsManager::fileMimeType PHP Метод

fileMimeType() публичный Метод

Return the mime type
public fileMimeType ( $path ) : null | string
$path
Результат null | string
    public function fileMimeType($path)
    {
        return $this->mimeDetect->findType(pathinfo($path, PATHINFO_EXTENSION));
    }