Skip to content

Kirby 3.9.8

$responder->type()

Setter and getter for the content type

$responder->type(?string $type = null): string|Kirby\Cms\Responder

Parameters

Name Type Default
$type string|null null

Return type

string|Kirby\Cms\Responder

This method modifies the existing $responder object it is applied to and returns it again.

Parent class

Kirby\Cms\Responder