mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
17 lines
315 B
PHP
17 lines
315 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Concerns\Filament\ActionLogs;
|
|
|
|
use App\Models\Admin\ActionLog;
|
|
use Illuminate\Database\Eloquent\Relations\MorphMany;
|
|
|
|
trait ModelHasActionLogs
|
|
{
|
|
public function actionlogs(): MorphMany
|
|
{
|
|
return $this->morphMany(ActionLog::class, 'actionable');
|
|
}
|
|
}
|