\App\Http\MiddlewareCheckPermission

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next) : mixed

根据路由名称查询路由绑定的权限 使用Entrust门面查询是否有权限

Parameters

\Illuminate\Http\Request $request
\Closure $next

Returns

mixed