class AccessMiddleware

Class AccessMiddleware

Properties

protected Application $app
protected Gate $gate

Methods

__construct(Application $app, Gate $gate)

생성자이며, Application 을 주입받는다.

mixed
handle(Request $request, Closure $next)

No description

void
checkPermission()

checkPermission

getMenuItem()

getMenuItem

Details

at line 52
__construct(Application $app, Gate $gate)

생성자이며, Application 을 주입받는다.

Parameters

Application $app Application
Gate $gate GateContract

at line 65
mixed handle(Request $request, Closure $next)

Parameters

Request $request 현재 처리중인 Request
Closure $next next middleware

Return Value

mixed

at line 78
protected void checkPermission()

checkPermission

Return Value

void

at line 95
protected MenuItem getMenuItem()

getMenuItem

Return Value

MenuItem