1 | <?php declare(strict_types=1); |
||
7 | final class ApiSettings |
||
8 | { |
||
9 | /** |
||
10 | * Create Pusher compatible version |
||
11 | * |
||
12 | * @param string $version |
||
13 | * @return string |
||
14 | */ |
||
15 | 4 | public static function getVersion(string $version = ''): string |
|
29 | |||
30 | /** |
||
31 | * Create WebSocket URL for given App ID |
||
32 | * |
||
33 | * @param string $appId |
||
34 | * @return string |
||
35 | */ |
||
36 | 1 | public static function createUrl(string $appId): string |
|
49 | } |
||
50 |