Skip to content

Kirby 4.5.0

Mime::toExtensions()

Returns all available extensions for a given MIME type

Mime::toExtensions(?string $mime = null, bool $matchWildcards = false): array

Parameters

Name Type Default
$mime string|null null
$matchWildcards bool false

Return type

array

Parent class

Kirby\Filesystem\Mime