Add back server sidebar list
This commit is contained in:
parent
5b6d3b8325
commit
a1e704d3a7
6 changed files with 99 additions and 18 deletions
|
@ -103,9 +103,10 @@ interface ServerRepositoryInterface extends RepositoryInterface, SearchableInter
|
|||
*
|
||||
* @param \Pterodactyl\Models\User $user
|
||||
* @param int $level
|
||||
* @return \Illuminate\Pagination\LengthAwarePaginator
|
||||
* @param bool $paginate
|
||||
* @return \Illuminate\Pagination\LengthAwarePaginator|\Illuminate\Database\Eloquent\Collection
|
||||
*/
|
||||
public function filterUserAccessServers(User $user, int $level): LengthAwarePaginator;
|
||||
public function filterUserAccessServers(User $user, int $level, bool $paginate = true);
|
||||
|
||||
/**
|
||||
* Return a server by UUID.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue