1 | <?php |
||
18 | class GenericCommand extends SystemCommand |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $name = 'generic'; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $description = 'Handles generic commands or is executed by default when a command is not found'; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $version = '1.0.0'; |
||
34 | |||
35 | /** |
||
36 | * Command execute method |
||
37 | * |
||
38 | * @return mixed |
||
39 | * @throws \Longman\TelegramBot\Exception\TelegramException |
||
40 | */ |
||
41 | 1 | public function execute() |
|
51 | } |
||
52 |