12345678910111213141516 |
- <?php
- namespace App\Filters;
- use App\Filters\Traits\RolePermissionFilter;
- class AdminRoleFilter extends Filter
- {
- use RolePermissionFilter;
- protected $simpleFilters = [
- 'id',
- 'name' => ['like', '%?%'],
- 'slug' => ['like', '%?%'],
- ];
- protected $filters = ['permission_name'];
- }
|