16 lines
248 B
PHP
16 lines
248 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class Application extends BaseModel
|
|
{
|
|
public function environment()
|
|
{
|
|
return $this->belongsTo(Environment::class);
|
|
}
|
|
public function destination()
|
|
{
|
|
return $this->morphTo();
|
|
}
|
|
}
|