Raydium Framework

MiddlewareRegistry
in package

Table of Contents

$middlewares  : array<string|int, mixed>|null
__construct()  : mixed
getRegisteredMiddleware()  : null|array<string|int, mixed>
register()  : void
Register middleware by class name.
setDefault()  : void

Properties

Methods

getRegisteredMiddleware()

public getRegisteredMiddleware() : null|array<string|int, mixed>
Return values
null|array<string|int, mixed>

register()

Register middleware by class name.

public register(callable|MiddlewareInterface $middleware, string $key) : void
Parameters
$middleware : callable|MiddlewareInterface
$key : string
Return values
void

Search results