Buffalo Eats Online API Documentation

PlatformMaintenanceMiddleware extends Middleware
in package

Platform-wide maintenance middleware for admin and client routes.

Checks platform_settings and scheduled platform-wide maintenance windows to enforce access restrictions on dashboard routes. Applied before AdminMiddleware and ClientMiddleware.

Tags
author

J.J. Johnson visionquest716@gmail.com

copyright

2026 VisionQuestServices LLC

Table of Contents

Methods

handle()  : bool
Handle the request by checking platform maintenance status.
detectRole()  : string|null
Detect current user role.
renderMaintenance()  : void
Render maintenance page.

Methods

handle()

Handle the request by checking platform maintenance status.

public handle([array<string|int, mixed> $params = [] ]) : bool
Parameters
$params : array<string|int, mixed> = []

Route parameters

Return values
bool

renderMaintenance()

Render maintenance page.

private renderMaintenance(string|null $message) : void
Parameters
$message : string|null

Custom message


        
On this page

Search results