Add back server sidebar list

This commit is contained in:
Dane Everitt 2018-02-24 13:58:48 -06:00
parent 5b6d3b8325
commit a1e704d3a7
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 99 additions and 18 deletions

View file

@ -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.