RedirectionNotFound   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Arcanedev\MissingUrlsRedirector\Events;
6
7
/**
8
 * Class     RedirectionNotFound
9
 *
10
 * @package  Arcanedev\MissingUrlsRedirector\Events
11
 * @author   ARCANEDEV <[email protected]>
12
 */
13
class RedirectionNotFound
14
{
15
    /* -----------------------------------------------------------------
16
     |  Properties
17
     | -----------------------------------------------------------------
18
     */
19
20
    /** @var  \Illuminate\Http\Request */
21
    public $request;
22
23
    /* -----------------------------------------------------------------
24
     |  Constructor
25
     | -----------------------------------------------------------------
26
     */
27
28
    /**
29
     * RedirectionNotFound constructor.
30
     *
31
     * @param  \Illuminate\Http\Request  $request
32
     */
33 6
    public function __construct($request)
34
    {
35 6
        $this->request = $request;
36 6
    }
37
}
38