MetaFox

PlatformPermission
in

Interface PlatformPermission.

Table of Contents

Methods

assignRoleWithPivot()  : $this
Assign the given role to the model.
rolesHasValuePermissions()  : BelongsToMany
A permission can be applied to roles.

Methods

assignRoleWithPivot()

Assign the given role to the model.

public assignRoleWithPivot(array<string, mixed> $params) : $this
Parameters
$params : array<string, mixed>
Return values
$this

rolesHasValuePermissions()

A permission can be applied to roles.

public rolesHasValuePermissions() : BelongsToMany
Return values
BelongsToMany

        
On this page

Search results