mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Add all of the potential transformers that might be needed for now.
This commit is contained in:
@@ -313,4 +313,14 @@ class Server extends Model
|
||||
{
|
||||
return $this->hasMany(Database::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the location of the server.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function location()
|
||||
{
|
||||
return $this->node->location();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user