1 | <?php |
||
9 | class InsightsRequest extends AbstractRequest |
||
10 | { |
||
11 | use UtilityTrait; |
||
12 | |||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $metrics; |
||
17 | |||
18 | /** |
||
19 | * @var int|null |
||
20 | */ |
||
21 | protected $since; |
||
22 | |||
23 | /** |
||
24 | * @var int|null |
||
25 | */ |
||
26 | protected $until; |
||
27 | |||
28 | /** |
||
29 | * UserRequest constructor. |
||
30 | */ |
||
31 | 1 | public function __construct(string $pageToken, array $metrics, ?int $since = null, ?int $until = null) |
|
39 | |||
40 | 1 | protected function buildHeaders(): void |
|
43 | |||
44 | 1 | protected function buildBody(): void |
|
47 | |||
48 | 1 | protected function buildQuery(): array |
|
61 | } |
||
62 |