Move server view management parts to new controller and clean up code

This commit is contained in:
Dane Everitt 2019-11-24 12:50:16 -08:00
parent 8f0044575f
commit c17f9ba8a9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 309 additions and 157 deletions

View file

@ -2,6 +2,19 @@
namespace Pterodactyl\Models;
/**
* @property int $id
* @property string $uuid
* @property string $author
* @property string $name
* @property string $description
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
*
* @property \Illuminate\Support\Collection|\Pterodactyl\Models\Server[] $servers
* @property \Illuminate\Support\Collection|\Pterodactyl\Models\Egg[] $eggs
* @property \Illuminate\Support\Collection|\Pterodactyl\Models\Pack[] $packs
*/
class Nest extends Validable
{
/**

View file

@ -16,7 +16,7 @@ use Znck\Eloquent\Traits\BelongsToThrough;
* @property string $name
* @property string $description
* @property bool $skip_scripts
* @property bool $suspended
* @property int $suspended
* @property int $owner_id
* @property int $memory
* @property int $swap