1 | <?php |
||
8 | class PusherFactory |
||
9 | { |
||
10 | /** |
||
11 | * Make a new Pushwoosh client. |
||
12 | * |
||
13 | * @return \Gomoob\Pushwoosh\Client\Pushwoosh |
||
14 | */ |
||
15 | public function make() |
||
21 | |||
22 | /** |
||
23 | * Get the configuration data. |
||
24 | * |
||
25 | * @throws \InvalidArgumentException |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | protected function getConfig() |
||
43 | |||
44 | /** |
||
45 | * Get the Pushwoosh client. |
||
46 | * |
||
47 | * @param string[] $auth |
||
48 | * |
||
49 | * @return \Gomoob\Pushwoosh\Client\Pushwoosh |
||
50 | */ |
||
51 | protected function getClient(array $auth) |
||
57 | |||
58 | } |