FileWasUploaded   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 15
rs 10
c 3
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php namespace Modules\Media\Events;
2
3
use Modules\Media\Entities\File;
4
5
class FileWasUploaded
6
{
7
    /**
8
     * @var File
9
     */
10
    public $file;
11
12
    /**
13
     * @param File $file
14
     */
15
    public function __construct(File $file)
16
    {
17
        $this->file = $file;
18
    }
19
}
20