Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class WebSocketArgument implements IWebSocketArgumentInterface |
||
8 | { |
||
9 | public const STREAM_TYPES = ['spot', 'linear', 'option', 'inverse']; |
||
10 | protected string $streamType; |
||
11 | protected array $symbols; |
||
12 | |||
13 | public function __construct(array $symbols, string $streamType) |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Получение списка торговых символов |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getSymbols(): array |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Получение алиаса потока |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getStreamType(): string |
||
39 |