| Total Complexity | 1 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class StartCommand extends UserCommand |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $name = 'start'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $description = 'Start command'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $usage = '/start'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $version = '1.1.0'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Command execute method |
||
| 44 | * |
||
| 45 | * @return ServerResponse |
||
| 46 | * @throws TelegramException |
||
| 47 | */ |
||
| 48 | public function execute() |
||
| 57 |