src/Message/Query/Beauty/Master/GetTopMastersQuery.php line 10

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Slivki\Message\Query\Beauty\Master;
  4. use Slivki\Messenger\Query\QueryInterface;
  5. use Slivki\ValueObject\Coordinate;
  6. final class GetTopMastersQuery implements QueryInterface
  7. {
  8.     private ?int $level;
  9.     private ?Coordinate $currentUserPosition;
  10.     public function __construct(?int $level, ?Coordinate $currentUserPosition)
  11.     {
  12.         $this->level $level;
  13.         $this->currentUserPosition $currentUserPosition;
  14.     }
  15.     public function getLevel(): ?int
  16.     {
  17.         return $this->level;
  18.     }
  19.     public function getCurrentUserPosition(): ?Coordinate
  20.     {
  21.         return $this->currentUserPosition;
  22.     }
  23. }