FileStored   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php namespace Arcanesoft\Media\Events;
2
3
use Illuminate\Http\UploadedFile;
4
5
/**
6
 * Class     UploadedFileStored
7
 *
8
 * @package  Arcanesoft\Media\Events
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class FileStored
12
{
13
    /* -----------------------------------------------------------------
14
     |  Properties
15
     | -----------------------------------------------------------------
16
     */
17
18
    /** @var  \Illuminate\Http\UploadedFile */
19
    public $file;
20
21
    /** @var  string */
22
    public $path;
23
24
    /** @var  array */
25
    public $options;
26
27
    /** @var string */
28
    public $storedPath;
29
30
    /* -----------------------------------------------------------------
31
     |  Constructor
32
     | -----------------------------------------------------------------
33
     */
34
35
    /**
36
     * UploadedFileStoring constructor.
37
     *
38
     * @param  string                         $path
39
     * @param  \Illuminate\Http\UploadedFile  $file
40
     * @param  array                          $options
41
     * @param  string                         $storedPath
42
     */
43 8
    public function __construct($path, UploadedFile $file, $options, $storedPath)
44
    {
45 8
        $this->path       = $path;
46 8
        $this->file       = $file;
47 8
        $this->options    = $options;
48 8
        $this->storedPath = $storedPath;
49 8
    }
50
}
51