<?php
declare(strict_types=1);
namespace Slivki\Request\MeOnMap;
use Slivki\Request\QueryStringRequestInterface;
final class GetGeoLocationsRequest implements QueryStringRequestInterface
{
private ?string $searchQuery;
private ?array $categoryIds;
public function __construct(
?string $searchQuery = null,
?array $categoryIds = null
) {
$this->searchQuery = $searchQuery;
$this->categoryIds = $categoryIds;
}
public function getSearchQuery(): ?string
{
return $this->searchQuery;
}
/**
* @return int[]|null
*/
public function getCategoryIds(): ?array
{
return $this->categoryIds;
}
}