Completed
Push — master ( 8eb315...5aaba6 )
by Changwan
04:29
created

NormalPing   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 21
ccs 0
cts 8
cp 0
rs 10
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getMessage() 0 4 1
1
<?php
2
namespace Wandu\Event\Commands\Events;
3
4
class NormalPing
5
{
6
    /** @var string */
7
    protected $message;
8
9
    /**
10
     * @param string $message
11
     */
12
    public function __construct($message)
13
    {
14
        $this->message = $message;
15
    }
16
17
    /**
18
     * @return mixed
19
     */
20
    public function getMessage()
21
    {
22
        return $this->message;
23
    }
24
}
25