Method |
Description |
|
__callStatic ( string $name, array $args ) |
Create instances of the middlewares. |
|
create ( callable | string $basePath, callable $factory = null ) : callable |
Create a middleware callable that acts as a "proxy" to a real middleware that must be returned by the given callback. |
|
getStreamFactory ( ) |
Set the stream factory used by some middlewares. |
|
registerNamespace ( string $namespace ) |
Register a new namespace. |
|
setStreamFactory ( callable $streamFactory ) |
Set the stream factory used by some middlewares. |
|