AbstractRivetFileEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Luminark\Rivet\Events;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Luminark\Rivet\Models\Rivet;
7
use Symfony\Component\HttpFoundation\File\File;
8
9
abstract class AbstractRivetFileEvent
10
{
11
    public $rivet;
12
13
    public $file;
14
15
    public function __construct(Rivet $rivet, File $file)
16
    {
17
        $this->rivet = $rivet;
18
        $this->file = $file;
19
    }
20
}
21