$visitor->acceptsMimeType()
Checks if the user accepts the given mime type
$visitor->acceptsMimeType(string $mimeType): bool
Parameters
Name | Type | Default |
---|---|---|
$mimeTyperequired | string |
no default value |
Return type
bool
This method modifies the existing $visitor
object it is applied to and returns it again.