1 | <?php |
||
9 | class Tag extends AbstractApi |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var null|\Kerox\Messenger\Api\Tag |
||
14 | */ |
||
15 | private static $_instance; |
||
16 | |||
17 | /** |
||
18 | * Tag constructor. |
||
19 | * |
||
20 | * @param string $pageToken |
||
21 | * @param \GuzzleHttp\ClientInterface $client |
||
22 | */ |
||
23 | 2 | public function __construct(string $pageToken, ClientInterface $client) |
|
27 | |||
28 | /** |
||
29 | * @param string $pageToken |
||
30 | * @param \GuzzleHttp\ClientInterface $client |
||
31 | * |
||
32 | * @return \Kerox\Messenger\Api\Tag |
||
33 | */ |
||
34 | 1 | public static function getInstance(string $pageToken, ClientInterface $client): Tag |
|
42 | |||
43 | /** |
||
44 | * @return \Kerox\Messenger\Response\TagResponse |
||
45 | */ |
||
46 | 1 | public function get(): TagResponse |
|
53 | } |
||
54 |