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

NormalPing::getMessage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
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