Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Artesaos
Defender
Contracts
Permission
newPivot
Artesaos\Defender\Contracts\Permission::newPivot PHP Method
Permission Interface Documentation
Show file
Open project: artesaos/defender
newPivot()
public
method
public
newPivot
(
Model
$parent
,
array
$attributes
,
string
$table
,
boolean
$exists
) :
PermissionUserPivot | Illuminate\Database\Eloquent\Relations\Pivot
$parent
Illuminate\Database\Eloquent\Model
$attributes
array
$table
string
$exists
boolean
return
PermissionUserPivot | Illuminate\Database\Eloquent\Relations\Pivot
public function newPivot(Model $parent, array $attributes, $table, $exists);
Permission
newPivot
roles
users