Skip to content

Kirby 6.0.0

$drawerResponse->header()

Getter for single headers

$drawerResponse->header(string $key): string|null

Parameters

Name Type Default
$keyrequired string no default value

Return types

stringornull

Parent class

Kirby\Panel\Response\DrawerResponse inherited from Kirby\Http\Response