Completed
Push — master ( 533e78...e97401 )
by Janusz
02:11
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
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 32
rs 10

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
declare(strict_types=1);
3
4
namespace Ittoolspl\Smslabs\VO;
5
6
class SmsSentResponse
7
{
8
    private $account;
9
    private $smsId;
10
11
    /**
12
     * SmsSentResponse constructor.
13
     * @param int $account
14
     * @param string $smsId
15
     */
16
    public function __construct(int $account, string $smsId)
17
    {
18
        $this->account = $account;
19
        $this->smsId   = $smsId;
20
    }
21
22
    /**
23
     * @return int
24
     */
25
    public function getAccount() : int
26
    {
27
        return $this->account;
28
    }
29
30
    /**
31
     * @return string
32
     */
33
    public function getSmsId() : string
34
    {
35
        return $this->smsId;
36
    }
37
}
38