exit
Fires after script execution ends.
Table of Contents
Description
This hook fires after the script stops executing. This can be at the end of the script or just before the exit
command.
Example
Hook::set('exit', function () {
unset($_SESSION['alert']);
});
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.