Permission
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
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
in
Model at line 18
getConnectionName()
No description
static protected 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.
PermissionCollection
newCollection(array $models = [])
No description