paginate databases when viewing a host
This commit is contained in:
parent
e8cb441fc8
commit
c739f292e4
7 changed files with 47 additions and 50 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue