Middleware
in package
AbstractYes
Abstract base middleware class.
All middleware must implement the handle() method. Returning false halts the request pipeline (e.g., redirect to login).
Tags
Table of Contents
Methods
- handle() : bool
- Handle the incoming request.
Methods
handle()
Handle the incoming request.
public
abstract handle([array<string|int, mixed> $params = [] ]) : bool
Parameters
- $params : array<string|int, mixed> = []
-
Route parameters
Return values
bool —Return true to continue, false to halt