readonly |
|---|
Middleware: ResolveUi5Context
This middleware inspects incoming requests and attaches a Ui5Context object to the service container if the request path belongs to a UI5 artifact.
Responsibilities:
Behavior:
The resolved Ui5Context can be injected anywhere downstream via type-hinting or app(Ui5Context::class).
| Methods | ||
|---|---|---|
public
|
__construct(Ui5ContextFactoryInterface $factory)
|
# |
public
|
handle(Request $request, Closure(Request): Response $next): Response
|
# |