ReceivedMessage::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 16
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 7
c 1
b 0
f 1
dl 0
loc 16
rs 10
cc 1
nc 1
nop 7
1
<?php
2
3
namespace Rezahmady\Smsir\Responses;
4
5
class ReceivedMessage
6
{
7
    /**
8
     * @var int
9
     */
10
    public $id;
11
12
    /**
13
     * @var string
14
     */
15
    public $lineNumber;
16
17
    /**
18
     * @var string
19
     */
20
    public $SMSMessageBody;
21
22
    /**
23
     * @var string
24
     */
25
    public $mobileNumber;
26
27
28
    /**
29
     * @var string
30
     */
31
    public $typeOfMessage;
32
33
    /**
34
     * @var string
35
     */
36
    public $receiveAtLatin;
37
38
    /**
39
     * @var string
40
     */
41
    public $receiveAtJalali;
42
43
    public function __construct(
44
        int $id,
45
        string $lineNumber,
46
        string $SMSMessageBody,
47
        string $mobileNumber,
48
        string $typeOfMessage,
49
        string $receiveAtLatin,
50
        string $receiveAtJalali
51
    ) {
52
        $this->id = $id;
53
        $this->lineNumber = $lineNumber;
54
        $this->mobileNumber = $mobileNumber;
55
        $this->SMSMessageBody = $SMSMessageBody;
56
        $this->typeOfMessage = $typeOfMessage;
57
        $this->receiveAtJalali = $receiveAtJalali;
58
        $this->receiveAtLatin = $receiveAtLatin;
59
    }
60
}
61