Completed
Push — master ( 84b0d6...bfba9a )
by Janusz
02:28 queued 36s
created

SmsSentResponse::getSmsId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Ittoolspl\Smslabs\Entity;
4
5
class SmsSentResponse
6
{
7
    private $account;
8
    private $smsId;
9
10
    /**
11
     * SmsSentResponse constructor.
12
     * @param int $account
13
     * @param string $smsId
14
     */
15 1
    public function __construct($account, $smsId)
16
    {
17 1
        $this->account = $account;
18 1
        $this->smsId   = $smsId;
19 1
    }
20
21
    /**
22
     * @return int
23
     */
24 1
    public function getAccount()
25
    {
26 1
        return $this->account;
27
    }
28
29
    /**
30
     * @return string
31
     */
32 1
    public function getSmsId()
33
    {
34 1
        return $this->smsId;
35
    }
36
}
37