src/Notification/Message/SendEmailVerificationMessage.php line 5

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace App\Notification\Message;
  3. class SendEmailVerificationMessage
  4. {
  5.     private int $userId;
  6.     private bool $firstTimeRegistration;
  7.     public function __construct(int $userIdbool $firstTimeRegistration)
  8.     {
  9.         $this->userId $userId;
  10.         $this->firstTimeRegistration $firstTimeRegistration;
  11.     }
  12.     public function getUserId(): int
  13.     {
  14.         return $this->userId;
  15.     }
  16.     public function getFirstTimeRegistration(): bool
  17.     {
  18.         return $this->firstTimeRegistration;
  19.     }
  20. }