Skip to content

Kirby 6.0.0

DropdownResponse::guardAgainstOutput()

Ensures that the callback does not produce any body output (used to show when loading a file creates side effects)

DropdownResponse::guardAgainstOutput(Closure $callback, mixed ...$args): mixed

Parameters

Name Type Default
$callbackrequired Closure no default value
...$args mixed no default value

Return type

mixed

Parent class

Kirby\Panel\Response\DropdownResponse inherited from Kirby\Http\Response