Skip to content

Kirby 3.7.5

$visitor->acceptedMimeType()

Sets the accepted mime type if provided or returns the user's accepted mime type otherwise

$visitor->acceptedMimeType(string $acceptedMimeType = null): Kirby\Toolkit\Obj|Kirby\Http\Visitor

Parameters

Name Type Default
$acceptedMimeType string null

Return type

Kirby\Toolkit\Obj|Kirby\Http\Visitor

Parent class

Kirby\Http\Visitor