NotificationSent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
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 20
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace NotificationChannels\Infobip\Events;
4
5
use Illuminate\Notifications\Notification;
6
use infobip\api\model\sms\mt\send\SMSResponseDetails;
7
8
class NotificationSent
9
{
10
    protected $notifiable;
11
12
    protected $notification;
13
14
    private $sentMessageInfo;
15
16
    /**
17
     * @param $notifiable
18
     * @param \Illuminate\Notifications\Notification $notification
19
     * @param SMSResponseDetails $sentMessageInfo
20
     */
21
    public function __construct($notifiable, Notification $notification, SMSResponseDetails $sentMessageInfo)
22
    {
23
        $this->notifiable = $notifiable;
24
        $this->notification = $notification;
25
        $this->sentMessageInfo = $sentMessageInfo;
26
    }
27
}
28