Passed
Push — master ( e91c18...4ee6d3 )
by Stream
04:26
created

FileWasUploaded   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 4
c 1
b 0
f 1
dl 0
loc 15
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A path() 0 3 1
1
<?php
2
3
namespace UniSharp\LaravelFilemanager\Events;
4
5
class FileWasUploaded
6
{
7
    private $path;
8
9
    public function __construct($path)
10
    {
11
        $this->path = $path;
12
    }
13
14
    /**
15
     * @return string
16
     */
17
    public function path()
18
    {
19
        return $this->path;
20
    }
21
}
22