Skip to content

Kirby 4.5.0

$visitor->acceptsMimeType()

Checks if the user accepts the given mime type

$visitor->acceptsMimeType(string $mimeType): bool

Parameters

Name Type Default
$mimeType * string

Return type

bool

Parent class

Kirby\Http\Visitor