Interfaces, Classes, Traits and Enums
    
            - MimeTypeDetector
 
        
    
    
    
    
    Table of Contents
    
            - 
    INCONCLUSIVE_MIME_TYPES
    
         = ['application/x-empty', 'text/plain', 'text/x-asm', 'application/octet-stream', 'inode/x-empty']                            
 
                    - 
    $detector
    
                         : MimeTypeDetector            
 
            - 
    $inconclusiveMimetypes
    
                         : array<string|int, mixed>            
 
                - 
    __construct()
    
                                 : mixed    
 
            - 
    detectMimeType()
    
                                 : string|null    
 
            - 
    detectMimeTypeFromBuffer()
    
                                 : string|null    
 
            - 
    detectMimeTypeFromFile()
    
                                 : string|null    
 
            - 
    detectMimeTypeFromPath()
    
                                 : string|null    
 
        
        
    
        
                    
    
        INCONCLUSIVE_MIME_TYPES
        
    
    
    
    
    private
        mixed
    INCONCLUSIVE_MIME_TYPES
    = ['application/x-empty', 'text/plain', 'text/x-asm', 'application/octet-stream', 'inode/x-empty']
        
        
    
            
        
    
        
                    
    
        $detector
        
        
                                
    
    
    
    
    private
        MimeTypeDetector
    $detector
    
        
        
    
                    
    
        $inconclusiveMimetypes
        
        
                                
    
    
    
    
    private
        array<string|int, mixed>
    $inconclusiveMimetypes
     = self::INCONCLUSIVE_MIME_TYPES
        
        
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct(MimeTypeDetector $detector[, array<string|int, mixed> $inconclusiveMimetypes = self::INCONCLUSIVE_MIME_TYPES ]) : mixed
        
        Parameters
    
                    - 
                $detector
                : MimeTypeDetector
                            
 
            - 
                    
            
 
                    - 
                $inconclusiveMimetypes
                : array<string|int, mixed>
                 = self::INCONCLUSIVE_MIME_TYPES            
 
            - 
                    
            
 
            
    
        Return values
    mixed
            —
        
    
                    
    
        detectMimeType()
        
    
    
    
    
    public
                    detectMimeType(string $path, mixed $contents) : string|null
    
        Parameters
    
                    - 
                $path
                : string
                            
 
            - 
                    
            
 
                    - 
                $contents
                : mixed
                            
 
            - 
                
            
 
            
    
        Return values
    string|null
            —
        
    
                    
    
        detectMimeTypeFromBuffer()
        
    
    
    
    
    public
                    detectMimeTypeFromBuffer(string $contents) : string|null
        
        Parameters
    
                    - 
                $contents
                : string
                            
 
            - 
                    
            
 
            
    
        Return values
    string|null
            —
        
    
                    
    
        detectMimeTypeFromFile()
        
    
    
    
    
    public
                    detectMimeTypeFromFile(string $path) : string|null
        
        Parameters
    
                    - 
                $path
                : string
                            
 
            - 
                    
            
 
            
    
        Return values
    string|null
            —
        
    
                    
    
        detectMimeTypeFromPath()
        
    
    
    
    
    public
                    detectMimeTypeFromPath(string $path) : string|null
        
        Parameters
    
                    - 
                $path
                : string
                            
 
            - 
                    
            
 
            
    
        Return values
    string|null
            —