NotificationSent::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 2
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