Method |
Description |
|
everything ( array $attributes = [] ) : mixed |
Allow/disallow all abilities on everything. |
|
toAlways ( array | string $abilities, array $attributes = [] ) : mixed |
Allow/disallow the given ability on all models. |
|
toManage ( string | array | Model $models, array $attributes = [] ) : void |
Allow/disallow all abilities on the given model. |
|
toOwn ( string $model, array $attributes = [] ) : void |
Allow/disallow owning the given model. |
|
toOwnEverything ( array $attributes = [] ) : mixed |
Allow/disallow owning all models. |
|