Свойство | Тип | Описание | |
---|---|---|---|
$authority | The authority to be given abilities. |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
to ( mixed $abilities, |
Give the abilities to the authority. |
Метод | Описание | |
---|---|---|
giveAbilities ( array $ids, |
Associate the given abilitiy IDs as allowed abilities. |
public __construct ( |
||
$authority |
protected giveAbilities ( array $ids, |
||
$ids | array | |
$authority | ||
Результат | void |
protected Model,Illuminate\Database\Eloquent|string $authority | ||
Результат |