| 1 | <?php |
||
| 10 | class PusherManager |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $config; |
||
| 16 | |||
| 17 | public function setConfig(array $config) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return \Pusher |
||
| 24 | */ |
||
| 25 | public function getPusherClient() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param PusherableInterface $user |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getUserChannelName(PusherableInterface $user) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $suffix |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | public function getChannelName($suffix) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | public function getEvent() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return mixed |
||
| 69 | */ |
||
| 70 | public function getAuthKey() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @return mixed |
||
| 77 | */ |
||
| 78 | public function getSecret() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @return mixed |
||
| 85 | */ |
||
| 86 | public function getAppId() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @return mixed |
||
| 93 | */ |
||
| 94 | public function getCluster() |
||
| 98 | |||
| 99 | /** |
||
| 100 | * @return mixed |
||
| 101 | */ |
||
| 102 | public function getEncrypted() |
||
| 106 | } |