freescout-support/app/Observers/AttachmentObserver.php
2022-12-06 22:38:24 -08:00

18 lines
332 B
PHP

<?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);
}
}