Вход Регистрация
Файл: vendor/league/mime-type-detection/src/MimeTypeDetector.php
Строк: 27
<?php

declare(strict_types=1);

namespace 
LeagueMimeTypeDetection;

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;
}
Онлайн: 0
Реклама