Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function getPusherClient() |
||
31 | { |
||
32 | $options = [ |
||
33 | 'cluster' => $this->config['cluster'], |
||
34 | 'encrypted' => $this->config['encrypted'], |
||
35 | ]; |
||
36 | $pusher = new \Pusher( |
||
37 | $this->config['auth_key'], |
||
38 | $this->config['secret'], |
||
39 | $this->config['app_id'], |
||
40 | $options |
||
41 | ); |
||
42 | |||
43 | return $pusher; |
||
44 | } |
||
45 | |||
116 | } |