Method | Description | |
---|---|---|
newPivot ( |
||
roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Many-to-many permission-role relationship. | |
users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Many-to-many permission-user relationship. |
public newPivot ( |
||
$parent | ||
$attributes | array | |
$table | string | |
$exists | boolean | |
return | PermissionUserPivot | Illuminate\Database\Eloquent\Relations\Pivot |
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |