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

SmsSentResponse   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 32
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getAccount() 0 4 1
A getSmsId() 0 4 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