1 | <?php declare(strict_types=1); |
||
10 | class ExploreResultCollection |
||
11 | { |
||
12 | /** |
||
13 | * @var ExploreResult[] |
||
14 | */ |
||
15 | public $results; |
||
16 | |||
17 | 14 | public function __construct(ExploreResult ...$terms) |
|
21 | |||
22 | /** |
||
23 | * @return RelatedResult[] |
||
24 | */ |
||
25 | 1 | public function getResults(): array |
|
29 | |||
30 | /** |
||
31 | * @return ExploreResult |
||
32 | * |
||
33 | * @throws GoogleTrendsException |
||
34 | */ |
||
35 | 6 | public function getRelatedQueriesResult(): ExploreResult |
|
45 | |||
46 | /** |
||
47 | * @return ExploreResult |
||
48 | * |
||
49 | * @throws GoogleTrendsException |
||
50 | */ |
||
51 | 6 | public function getRelatedTopicsResult(): ExploreResult |
|
61 | |||
62 | /** |
||
63 | * @return ExploreResult |
||
64 | * |
||
65 | * @throws GoogleTrendsException |
||
66 | */ |
||
67 | 4 | public function getInterestOverTimeResult(): ExploreResult |
|
77 | } |
||
78 |