Finish subuser controller

This commit is contained in:
Dane Everitt
2017-09-04 18:12:13 -05:00
parent 7222754580
commit dc310ffdea
16 changed files with 524 additions and 161 deletions

View File

@@ -36,6 +36,16 @@ interface SubuserRepositoryInterface extends RepositoryInterface
*/
public function getWithServer($id);
/**
* Return a subuser with the associated permissions relationship.
*
* @param int $id
* @return \Illuminate\Database\Eloquent\Collection
*
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
*/
public function getWithPermissions($id);
/**
* Find a subuser and return with server and permissions relationships.
*