mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
paginate databases when viewing a host
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace Pterodactyl\Contracts\Repository;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
use Pterodactyl\Models\DatabaseHost;
|
||||
|
||||
interface DatabaseHostRepositoryInterface extends RepositoryInterface
|
||||
{
|
||||
@@ -14,15 +13,4 @@ interface DatabaseHostRepositoryInterface extends RepositoryInterface
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public function getWithViewDetails(): Collection;
|
||||
|
||||
/**
|
||||
* Return a database host with the databases and associated servers
|
||||
* that are attached to said databases.
|
||||
*
|
||||
* @param int $id
|
||||
* @return \Pterodactyl\Models\DatabaseHost
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getWithServers(int $id): DatabaseHost;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user