body
Modifies the body part of the current HTML response.
Table of Contents
Description
This hook is provided by the Asset extension and will not work if you detach it.
Example
Hook::set('body', function ($body) {
return strtr($body, ['</body>' => '<!-- test --></body>']);
});
body
Modifies the body part of the current HTML response.
content
Modifies the current HTML response.
enter
Modifies the current HTTP response headers.
exit
Fires after script execution ends.
get
Fires when the application is ready.
head
Modifies the head part of the current HTML response.
let
Fires when the application finishes rendering.
route
Sets the response body.
set
Fires when the application is ready.