21 lines
312 B
PHP
21 lines
312 B
PHP
<?php
|
|
|
|
namespace App\Observers;
|
|
|
|
use App\Models\Topic;
|
|
|
|
// creating, created, updating, updated, saving,
|
|
// saved, deleting, deleted, restoring, restored
|
|
|
|
class TopicObserver
|
|
{
|
|
public function creating(Topic $topic)
|
|
{
|
|
//
|
|
}
|
|
|
|
public function updating(Topic $topic)
|
|
{
|
|
//
|
|
}
|
|
} |