$visitor->acceptedMimeType()
Sets the accepted mime type if provided or returns the user's accepted mime type otherwise
Parameters
Name | Type | Default |
---|---|---|
$acceptedMimeType | string |null |
null |
Return type
Kirby\Toolkit\Obj
|Kirby\Http\Visitor
|null
This method does not modify the existing $visitor
object but returns a new object with the changes applied. Learn more →