Add subuser deletion service

This commit is contained in:
Dane Everitt
2017-08-26 13:31:18 -05:00
parent 74ea1aa0aa
commit 2cabb61b54
6 changed files with 276 additions and 1 deletions

View File

@@ -26,4 +26,13 @@ namespace Pterodactyl\Contracts\Repository;
interface SubuserRepositoryInterface extends RepositoryInterface
{
/**
* Find a subuser and return with server and permissions relationships.
*
* @param int $id
* @return \Illuminate\Database\Eloquent\Collection
*
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
*/
public function getWithServerAndPermissions($id);
}