NotificationFailed   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
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 22
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
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