| 1 | <?php declare(strict_types=1); |
||
| 8 | class ExploreResult |
||
| 9 | { |
||
| 10 | public const ID_INTEREST_OVER_TIME = 'TIMESERIES'; |
||
| 11 | public const ID_INTEREST_BY_REGION = 'GEO_MAP'; |
||
| 12 | public const ID_RELATED_TOPICS = 'RELATED_TOPICS'; |
||
| 13 | public const ID_RELATED_QUERIES = 'RELATED_QUERIES'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $token; |
||
| 24 | |||
| 25 | 16 | public function __construct(string $id, string $token) |
|
| 30 | |||
| 31 | 14 | public function getToken(): string |
|
| 35 | |||
| 36 | 7 | public function isRelatedQueriesSearch(): bool |
|
| 40 | |||
| 41 | 5 | public function isRelatedTopicsSearch(): bool |
|
| 45 | |||
| 46 | 3 | public function isInterestOverTimeSearch(): bool |
|
| 50 | |||
| 51 | 3 | public function isInterestByRegionSearch(): bool |
|
| 55 | } |
||
| 56 |