2017-07-03 03:29:58 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Repository;
|
|
|
|
|
2017-10-07 05:57:53 +01:00
|
|
|
use Pterodactyl\Models\Nest;
|
2017-10-03 04:51:13 +01:00
|
|
|
|
2017-10-07 05:57:53 +01:00
|
|
|
interface NestRepositoryInterface extends RepositoryInterface
|
2017-07-03 03:29:58 +01:00
|
|
|
{
|
2017-07-08 20:07:51 +01:00
|
|
|
/**
|
2020-09-13 19:13:37 +01:00
|
|
|
* Return a nest or all nests with their associated eggs and variables.
|
2017-07-08 20:07:51 +01:00
|
|
|
*
|
2017-10-04 05:31:04 +01:00
|
|
|
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
2017-08-16 04:21:47 +01:00
|
|
|
*/
|
2021-10-30 21:41:38 +01:00
|
|
|
public function getWithEggs(int $id = null): Nest;
|
2017-07-03 03:29:58 +01:00
|
|
|
}
|