Passed
Push — master ( 8e7304...5050b5 )
by Vladislav
05:53 queued 14s
created

KlineChannel::getResponseClassname()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Carpenstar\ByBitAPI\WebSockets\Channels\Spot\PublicChannels\Kline;
3
4
use Carpenstar\ByBitAPI\WebSockets\Channels\Spot\PublicChannels\Kline\Entities\KlineAbstract;
5
use Carpenstar\ByBitAPI\WebSockets\Objects\WebSockets\WebSocketsSpotPublicChannel;
6
7
/**
8
 * https://bybit-exchange.github.io/docs/spot/ws-public/kline
9
 *
10
 * Topic: kline.{interval}.{symbol} e.g., kline.30m.BTCUSDT
11
 *
12
 * Subscribe the kline stream
13
 */
14
class KlineChannel extends WebSocketsSpotPublicChannel
15
{
16
17
    /**
18
     * @return string
19
     */
20
    public function getResponseClassname(): string
21
    {
22
        return KlineAbstract::class;
23
    }
24
}