src/Domain/Entity/PictureLog.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 RevisionLog
  7.  *
  8.  * @package App\Domain\Entity
  9.  */
  10. class PictureLog
  11. {
  12.     use Identifiable;
  13.     use Timestampable;
  14.     public const PICTURE_ACTION 'picture_action';
  15.     public function __construct(
  16.         public string $action,
  17.         public string $entity,
  18.         public ?Person $author null,
  19.         public ?string $entityId null,
  20.         public ?string $data null,
  21.         public ?string $httpAgent null,
  22.     ) {}
  23. }