SomeCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the LineMob package.
5
 *
6
 * (c) Ishmael Doss <[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 LineMob\Core\Mocky\Switcher;
13
14
use LineMob\Core\Command\AbstractCommand;
15
use LineMob\Core\Template\TextTemplate;
16
17
/**
18
 * @author Ishmael Doss <[email protected]>
19
 */
20
class SomeCommand extends AbstractCommand
21
{
22
    public function __construct(array $data = [])
23
    {
24
        parent::__construct($data);
25
26
        $this->message = new TextTemplate();
27
        $this->message->text = 'SomeCommand';
28
    }
29
}
30