src/Request/MeOnMap/GetGeoLocationsRequest.php line 9

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Slivki\Request\MeOnMap;
  4. use Slivki\Request\QueryStringRequestInterface;
  5. final class GetGeoLocationsRequest implements QueryStringRequestInterface
  6. {
  7.     private ?string $searchQuery;
  8.     private ?array $categoryIds;
  9.     public function __construct(
  10.         ?string $searchQuery null,
  11.         ?array $categoryIds null
  12.     ) {
  13.         $this->searchQuery $searchQuery;
  14.         $this->categoryIds $categoryIds;
  15.     }
  16.     public function getSearchQuery(): ?string
  17.     {
  18.         return $this->searchQuery;
  19.     }
  20.     /**
  21.      * @return int[]|null
  22.      */
  23.     public function getCategoryIds(): ?array
  24.     {
  25.         return $this->categoryIds;
  26.     }
  27. }