Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Mage2
User
Policies
AdminUserPolicy
PHP Class Mage2\User\Policies\AdminUserPolicy
Inheritance:
use trait
Illuminate\Auth\Access\HandlesAuthorization
Exibir arquivo
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