Свойство | Type | Description | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. |
Méthode | Description | |
---|---|---|
givePermissionTo ( |
Grant the given permission to a role. | |
permissions ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | A role may be given various permissions. |
public givePermissionTo ( |
||
$permission | ||
Résultat | mixed |
public permissions ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
Résultat | Illuminate\Database\Eloquent\Relations\BelongsToMany |
protected array $fillable | ||
Résultat | array |