OverridingExtensionToMimeTypeMap
in package
implements
ExtensionToMimeTypeMap
Interfaces, Classes and Traits
Table of Contents
- $innerMap : ExtensionToMimeTypeMap
- $overrides : array<string|int, string>
- __construct() : mixed
- lookupMimeType() : string|null
Properties
$innerMap
private
ExtensionToMimeTypeMap
$innerMap
$overrides
private
array<string|int, string>
$overrides
Methods
__construct()
public
__construct(ExtensionToMimeTypeMap $innerMap, array<string, string> $overrides) : mixed
Parameters
- $innerMap : ExtensionToMimeTypeMap
- $overrides : array<string, string>
Return values
mixed —lookupMimeType()
public
lookupMimeType(string $extension) : string|null
Parameters
- $extension : string