ImageUploadedEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
c 1
b 0
f 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace App\Events\Home;
4
5
use Illuminate\Queue\SerializesModels;
6
use Illuminate\Foundation\Events\Dispatchable;
7
use Illuminate\Broadcasting\InteractsWithSockets;
8
9
class ImageUploadedEvent
10
{
11
    use Dispatchable;
12
    use SerializesModels;
13
    use InteractsWithSockets;
14
15
    public $location;
16
17
    /**
18
     * Create a new event instance
19
     */
20
    public function __construct($location)
21
    {
22
        $this->location = $location;
23
    }
24
}
25