$viewResponse->state() Provides access to state object kirby/src/Panel/Response/ViewResponse.php#L106 $viewResponse->state(): State Return type Kirby\Panel\State Parent class Kirby\Panel\Response\ViewResponse