mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
25 lines
436 B
PHP
25 lines
436 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Resources\Base;
|
|
|
|
use App\Models\Admin\ActionLog;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
|
|
/**
|
|
* Class BaseCreateResource.
|
|
*/
|
|
abstract class BaseCreateResource extends CreateRecord
|
|
{
|
|
/**
|
|
* Run after the record is created.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function afterCreate(): void
|
|
{
|
|
ActionLog::modelCreated($this->getRecord());
|
|
}
|
|
}
|