2017-07-02 21:29:58 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Repository;
|
|
|
|
|
2017-10-25 22:33:28 -05:00
|
|
|
use Pterodactyl\Models\Server;
|
2017-07-15 11:52:34 -05:00
|
|
|
|
2020-09-13 11:29:47 -07:00
|
|
|
interface ServerRepositoryInterface extends RepositoryInterface
|
2017-07-02 21:29:58 -05:00
|
|
|
{
|
2017-08-30 21:11:14 -05:00
|
|
|
/**
|
|
|
|
* Return a server by UUID.
|
|
|
|
*
|
|
|
|
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
|
|
|
*/
|
2018-01-04 22:49:50 -06:00
|
|
|
public function getByUuid(string $uuid): Server;
|
2017-07-02 21:29:58 -05:00
|
|
|
}
|