Response::guardAgainstOutput()
Ensures that the callback does not produce the first body output (used to show when loading a file creates side effects)
Parameters
Name | Type | Default |
---|---|---|
$callback * | Closure |
– |
... $args | mixed |
null |
Return type
mixed
|null
Parent class
Kirby\Cms\Response
inherited from Kirby\Http\Response