LAR_Maintenance/app/Models/Setting.php

18 lines
319 B
PHP
Raw Permalink Normal View History

2024-07-30 16:13:21 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
class Setting extends Model
{
use HasFactory;
public function settingable(): MorphTo
{
return $this->morphTo();
}
}