Completed
Push — master ( 466468...8588b9 )
by Armando
02:38 queued 36s
created

GenericCommand::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 9
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the TelegramBot package.
5
 *
6
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Longman\TelegramBot\Commands\SystemCommands;
13
14
use Longman\TelegramBot\Commands\SystemCommand;
15
16
/**
17
 * Generic command
18
 */
19
class GenericCommand extends SystemCommand
20
{
21
    /**
22
     * @var string
23
     */
24
    protected $name = 'generic';
25
26
    /**
27
     * @var string
28
     */
29
    protected $description = 'Handles generic commands or is executed by default when a command is not found';
30
31
    /**
32
     * @var string
33
     */
34
    protected $version = '1.1.0';
35
}
36