MiddlewareRegistry
    
            
            in package
            
        
    
    
    
        
        
    
Table of Contents
- $middlewares : array<string|int, mixed>|null
 - __construct() : mixed
 - getRegisteredMiddlewares() : null|array<string|int, mixed>
 - register() : void
 - Register middleware by class name.
 - setDefault() : void
 
Properties
$middlewares
    protected
        array<string|int, mixed>|null
    $middlewares
     = []
    
    
    
Methods
__construct()
    public
                    __construct(mixed $container[, array<string|int, mixed>|null $filter = null ]) : mixed
        
        Parameters
- $container : mixed
 - $filter : array<string|int, mixed>|null = null
 
Return values
mixed —getRegisteredMiddlewares()
    public
                    getRegisteredMiddlewares() : 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 —setDefault()
    protected
                    setDefault(CoreMiddleware $core[, array<string|int, mixed>|null $filter = null ]) : void
        
        Parameters
- $core : CoreMiddleware
 - $filter : array<string|int, mixed>|null = null