Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Mage2
User
Models
Role
PHP Class Mage2\User\Models\Role
Inheritance:
extends
Illuminate\Database\Eloquent\Model
Datei anzeigen
Open project: mage2/laravel-ecommerce
Class Usage Examples
Protected Properties
Property
Type
Description
$fillable
Public Methods
Method
Description
hasPermission
(
$permissionName
)
permissions
( ) :
Role
Role has many Permissions
user
( ) :
User
Role can be assigne to many users
Method Details
hasPermission()
public
method
public
hasPermission
(
$permissionName
)
permissions()
public
method
Role has many Permissions
public
permissions
( ) :
Role
return
Role
user()
public
method
Role can be assigne to many users
public
user
( ) :
User
return
User
Property Details
$fillable
protected_oe property
protected
$fillable