Documentation

GeneratedExtensionToMimeTypeMap
in package
implements ExtensionToMimeTypeMap, ExtensionLookup

Interfaces, Classes and Traits

ExtensionToMimeTypeMap
ExtensionLookup

Table of Contents

lookupAllExtensions()  : array<string|int, string>
lookupExtension()  : string|null
lookupMimeType()  : string|null

Methods

lookupAllExtensions()

public lookupAllExtensions(string $mimetype) : array<string|int, string>
Parameters
$mimetype : string
Return values
array<string|int, string>

lookupExtension()

public lookupExtension(string $mimetype) : string|null
Parameters
$mimetype : string
Return values
string|null

lookupMimeType()

public lookupMimeType(string $extension) : string|null
Parameters
$extension : string
Return values
string|null

Search results