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