16 lines
279 B
PHP
16 lines
279 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class StandaloneDocker extends BaseModel
|
|
{
|
|
public function applications()
|
|
{
|
|
return $this->morphMany(Application::class, 'destination');
|
|
}
|
|
public function server()
|
|
{
|
|
return $this->belongsTo(Server::class);
|
|
}
|
|
}
|