cms.page.end

Fires after all of the page & layout lifecycle handlers are run

Example usage:

Event::listen('cms.page.end', function ((\Cms\Classes\Controller) $controller) {
    return Response::make('Taking over the lifecycle!', 200);
});

Or

$CmsController->bindEvent('page.end', function () {
    return Response::make('Taking over the lifecycle!', 200);
});

Usage

Triggers

Class or file Line
Cms\Classes\Controller 548
Copyright © 2024 Winter CMS