mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-14 04:13:46 +02:00
Initial implementation of controller unit tests.
This commit is contained in:
@@ -33,6 +33,16 @@ interface DatabaseHostRepositoryInterface extends RepositoryInterface
|
||||
*/
|
||||
public function getWithViewDetails();
|
||||
|
||||
/**
|
||||
* Return a database host with the databases and associated servers that are attached to said databases.
|
||||
*
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getWithServers($id);
|
||||
|
||||
/**
|
||||
* Delete a database host from the DB if there are no databases using it.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user