SmsSentResponse   A
last analyzed

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
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 2
    public function __construct(int $account, string $smsId)
17
    {
18 2
        $this->account = $account;
19 2
        $this->smsId   = $smsId;
20 2
    }
21
22
    /**
23
     * @return int
24
     */
25 2
    public function getAccount() : int
26
    {
27 2
        return $this->account;
28
    }
29
30
    /**
31
     * @return string
32
     */
33 2
    public function getSmsId() : string
34
    {
35 2
        return $this->smsId;
36
    }
37
}
38