Completed
Push — master ( 46f89e...ea4efb )
by Janusz
09:47
created

SmsSentResponse   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 32
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
    public function __construct($account, $smsId)
16
    {
17
        $this->account = $account;
18
        $this->smsId   = $smsId;
19
    }
20
21
    /**
22
     * @return int
23
     */
24
    public function getAccount()
25
    {
26
        return $this->account;
27
    }
28
29
    /**
30
     * @return string
31
     */
32
    public function getSmsId()
33
    {
34
        return $this->smsId;
35
    }
36
}
37