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