Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Mage2
User
Models
Role
PHP Class Mage2\User\Models\Role
Inheritance:
extends
Illuminate\Database\Eloquent\Model
Afficher le fichier
Open project: mage2/laravel-ecommerce
Class Usage Examples
Protected Properties
Свойство
Type
Description
$fillable
Méthodes publiques
Méthode
Description
hasPermission
(
$permissionName
)
permissions
( ) :
Role
Role has many Permissions
user
( ) :
User
Role can be assigne to many users
Method Details
hasPermission()
public
méthode
public
hasPermission
(
$permissionName
)
permissions()
public
méthode
Role has many Permissions
public
permissions
( ) :
Role
Résultat
Role
user()
public
méthode
Role can be assigne to many users
public
user
( ) :
User
Résultat
User
Property Details
$fillable
protected_oe property
protected
$fillable