MiddlewareQueue
extends StrictQueue
in package
uses
Singleton
Queue of PSR-15 Middlewares to process HTTP Server Requests.
Tags
Table of Contents
Methods
- getInstance() : static
- __construct() : void
- Create a queue of PSR-15 compatible middlewares.
Methods
getInstance()
public
static getInstance([iterable<string|int, MiddlewareInterface> $middlewares = ]) : static
Parameters
- $middlewares : iterable<string|int, MiddlewareInterface> =
Return values
static__construct()
Create a queue of PSR-15 compatible middlewares.
private
__construct([iterable<string|int, MiddlewareInterface> $middlewares = [] ]) : void
Parameters
- $middlewares : iterable<string|int, MiddlewareInterface> = []
-
Initial set of PSR-15 middlewares