$activities $activities : \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Activitylog\Models\Activity> Type \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Activitylog\Models\Activity>
$permissions $permissions : \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Permission\Models\Permission> Type \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Permission\Models\Permission>
$roles $roles : \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Permission\Models\Role> Type \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Permission\Models\Role>
$users $users : \Illuminate\Database\Eloquent\Collection|array<mixed,\App\Models\User> Type \Illuminate\Database\Eloquent\Collection|array<mixed,\App\Models\User>
__deleted() __deleted(integer $id) : array 删除权限 Parameters integer $id Throws \Exception Returns array
drop() drop(integer $dragging, integer $drop, string $type) : boolean 修改目录排序与层级 Parameters integer $dragging 被操作者的ID integer $drop 操作的ID string $type 操作类型 Returns boolean
newModelQuery() newModelQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
newQuery() newQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
permission() permission(mixed $permissions) : \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission Parameters mixed $permissions Returns \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission
query() query() : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
role() role(mixed $roles, mixed $guard = null) : \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission Parameters mixed $roles mixed $guard Returns \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission
whereComponent() whereComponent(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereCreatedAt() whereCreatedAt(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereGuardName() whereGuardName(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereHidden() whereHidden(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereIcon() whereIcon(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereId() whereId(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereName() whereName(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
wherePath() wherePath(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
wherePid() wherePid(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereSort() whereSort(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereTitle() whereTitle(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission
whereUpdatedAt() whereUpdatedAt(mixed $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Permission Parameters mixed $value Returns \Illuminate\Database\Eloquent\Builder|\App\Models\Permission