freescout/freescout-dist/app/Observers/AttachmentObserver.php

19 lines
332 B
PHP
Raw Permalink Normal View History

2023-12-22 19:40:32 +00:00
<?php
namespace App\Observers;
use App\Attachment;
class AttachmentObserver
{
public function created(Attachment $attachment)
{
\Eventy::action('attachment.created', $attachment);
}
public function deleted(Attachment $attachment)
{
\Eventy::action('attachment.deleted', $attachment);
}
}