| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class TickerInfoRequest extends AbstractParameters implements ITickerInfoRequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Only linear category support at now |
||
| 12 | * @var string $category |
||
| 13 | */ |
||
| 14 | protected string $category = 'linear'; |
||
| 15 | |||
| 16 | protected string $symbol; |
||
| 17 | |||
| 18 | public function getCategory(): string |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $symbol |
||
| 25 | * @return TickerInfoRequest |
||
| 26 | */ |
||
| 27 | public function setSymbol(string $symbol): self |
||
| 28 | { |
||
| 29 | $this->symbol = $symbol; |
||
| 30 | return $this; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getSymbol(): string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |