MessageWasSent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 28
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Author: Facundo J Gonzalez
4
 * Date: 17/11/2017.
5
 */
6
7
namespace NotificationChannels\SMSC\Events;
8
9
use NotificationChannels\SMSC\SMSCMessageInterface;
10
use NotificationChannels\SMSC\Clients\SMSCApiResponseInterface;
11
12
/**
13
 * Class MessageWasSent.
14
 */
15
class MessageWasSent
16
{
17
    /**
18
     * The sms message.
19
     *
20
     * @var SMSCMessageInterface
21
     */
22
    public $message;
23
24
    /**
25
     * The Api response.
26
     *
27
     * @var SMSCApiResponseInterface
28
     */
29
    public $response;
30
31
    /**
32
     * MessageWasSent constructor.
33
     *
34
     * @param SMSCMessageInterface     $message
35
     * @param SMSCApiResponseInterface $response
36
     */
37
    public function __construct(SMSCMessageInterface $message, SMSCApiResponseInterface $response)
38
    {
39
        $this->message = $message;
40
        $this->response = $response;
41
    }
42
}
43