Completed
Push — master ( 1c54e2...48ad84 )
by Armando
04:25 queued 02:07
created

EditedchannelpostCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 30
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 6 1
1
<?php
2
/**
3
 * This file is part of the TelegramBot package.
4
 *
5
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Longman\TelegramBot\Commands\SystemCommands;
12
13
use Longman\TelegramBot\Commands\SystemCommand;
14
15
/**
16
 * Edited channel post command
17
 */
18
class EditedchannelpostCommand extends SystemCommand
19
{
20
    /**
21
     * @var string
22
     */
23
    protected $name = 'Editedchannelpost';
24
25
    /**
26
     * @var string
27
     */
28
    protected $description = 'Handle edited channel post';
29
30
    /**
31
     * @var string
32
     */
33
    protected $version = '1.0.0';
34
35
    /**
36
     * Execute command
37
     *
38
     * @return mixed
39
     * @throws \Longman\TelegramBot\Exception\TelegramException
40
     */
41
    public function execute()
42
    {
43
        //$edited_channel_post = $this->getUpdate()->getEditedChannelPost();
44
45
        return parent::execute();
46
    }
47
}
48