NotificationFailed::__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
7
class NotificationFailed
8
{
9
    private $notifiable;
10
11
    private $notification;
12
13
    private $exception;
14
15
    /**
16
     * NotificationFailed constructor.
17
     *
18
     * @param $notifiable
19
     * @param Notification $notification
20
     * @param \Exception $exception
21
     */
22
    public function __construct($notifiable, Notification $notification, \Exception $exception)
23
    {
24
        $this->notifiable = $notifiable;
25
        $this->notification = $notification;
26
        $this->exception = $exception;
27
    }
28
}
29