Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
<?php
namespace App\Jobs;
use App\Mail\TagAddedMail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Mail;
class SendEmailNewTag implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public $tagId;
/**
* Create a new job instance.
*
* @param $tagId
*/
public function __construct($tagId)
{
$this->tagId = $tagId;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
// Send the email notification
Mail::to(timebank_config('mail.content_admin.email'))->send(new TagAddedMail($this->tagId));
}
}