$responder->type()
Setter and getter for the content type
$responder->type(string|null $type = null): string|Kirby\Cms\Responder
Parameters
| Name | Type | Default |
|---|---|---|
| $type | stringornull |
null
|
Return types
stringorKirby\Cms\Responder
This method modifies the existing $responder object it is applied to and returns it again.