Added newsletter consent and term/privacy checkbox to registration

This commit is contained in:
Constantin Graf
2024-05-14 17:02:28 +02:00
committed by Constantin Graf
parent 11af9fab7e
commit 0448ebc180
9 changed files with 129 additions and 48 deletions

View File

@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace App\Events;
use Illuminate\Foundation\Events\Dispatchable;
class NewsletterRegistered
{
use Dispatchable;
public string $name;
public string $email;
public string $id;
/**
* Create a new event instance.
*/
public function __construct(string $name, string $email, string $id)
{
$this->name = $name;
$this->email = $email;
$this->id = $id;
}
}