src/Domain/Entity/View/PointOfInterestPicturesView.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity\View;
  3. use App\Domain\Entity\Person;
  4. use App\Domain\Entity\PointOfInterest;
  5. use DateTime;
  6. class PointOfInterestPicturesView
  7. {
  8.     /**
  9.      * @param int             $id
  10.      * @param DateTime        $createdAt
  11.      * @param PointOfInterest $pointOfInterest
  12.      * @param Person          $author
  13.      * @param string|null     $type
  14.      */
  15.     public function __construct(
  16.         public int $id,
  17.         public DateTime $createdAt,
  18.         public PointOfInterest $pointOfInterest,
  19.         public Person $author,
  20.         public string null $type,
  21.     ) {}
  22. }