coolify/app/Models/Service.php

17 lines
245 B
PHP
Raw Normal View History

2023-03-28 08:28:03 +02:00
<?php
namespace App\Models;
class Service extends BaseModel
{
public function environment()
{
return $this->belongsTo(Environment::class);
}
public function destination()
{
return $this->morphTo();
}
}