Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Mage2
User
Policies
AdminUserPolicy
PHP Class Mage2\User\Policies\AdminUserPolicy
Inheritance:
use trait
Illuminate\Auth\Access\HandlesAuthorization
ファイルを表示
Open project: mage2/laravel-ecommerce
Public Methods
Method
Description
hasPermission
(
AdminUser
$adminUser
,
$permissionName
) :
mixed
Determine whether the user can has permissions to access route.
Method Details
hasPermission()
public
method
Determine whether the user can has permissions to access route.
public
hasPermission
(
AdminUser
$adminUser
,
$permissionName
) :
mixed
$adminUser
Mage2\User\Models\AdminUser
return
mixed