class Permission extends Model (View source)

Properties

static protected $unguarded from  Model
$timestamps
int $id
string $scope_type
int $scope_id
string $recipient_type
int $recipient_id
string $ability
null|Model $scope
Model $recipient

Methods

getConnectionName()

No description

from  Model
static void
booting()

No description

MorphTo
scope()

Relationship with the model that this permission is for.

MorphTo
recipient()

Relationship with the user or group that receives this permission.

newCollection(array $models = [])

No description

Details

getConnectionName()

No description

static protected void booting()

No description

Return Value

void

MorphTo scope()

Relationship with the model that this permission is for.

Return Value

MorphTo

MorphTo recipient()

Relationship with the user or group that receives this permission.

Return Value

MorphTo

PermissionCollection newCollection(array $models = [])

No description

Parameters

array $models

Return Value

PermissionCollection