class RouteMiddleware (View source)

Properties

protected MiddlewareInterface $middleware
protected int $priority

Methods

setMiddleware(string $middlewareClassName)

No description

int
getPriority()

No description

setPriority(int $priority)

No description

Details

MiddlewareInterface getMiddleware()

Return Value

MiddlewareInterface

setMiddleware(string $middlewareClassName)

Parameters

string $middlewareClassName

int getPriority()

Return Value

int

setPriority(int $priority)

Parameters

int $priority