src/Domain/Entity/PersonLog.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity;
  3. use App\Domain\Entity\Behavior\Identifiable;
  4. use Gedmo\Timestampable\Traits\Timestampable;
  5. /**
  6.  * Class PersonLog
  7.  *
  8.  * @package App\Domain\Entity
  9.  */
  10. class PersonLog
  11. {
  12.     use Identifiable;
  13.     use Timestampable;
  14.     public const MAIL 'mail';
  15.     public const MAIL_ERROR 'mail_error';
  16.     public const PREMIUM 'premium';
  17.     public const PREMIUM_ERROR 'premium_error';
  18.     public const REQUEST_RESET_PASSWORD_ERROR 'request_reset_password_error';
  19.     public const FIREBASE_EMAIL_NOT_FOUND 'firebase_email_not_found';
  20.     public const GPS_LAUNCHED 'gps_launched';
  21.     public function __construct(
  22.         public string $action,
  23.         public string $entity,
  24.         public ?Person $author null,
  25.         public ?string $entityId null,
  26.         public ?string $data null,
  27.         public ?string $httpAgent null,
  28.     ) {}
  29. }