A plugin is a middleware to transform the request and/or the response.
The plugin can:
Methods | ||
---|---|---|
public
|
handleRequest(
RequestInterface $request,
callable(RequestInterface): Promise $next,
callable(RequestInterface): Promise $first,
): Promise
|
# |