AbstractRivetFileEvent::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
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