Completed
Push — dev ( 4e6f9a...6e9c7d )
by Yan
04:26 queued 02:24
created

Event   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Lincable\Eloquent\Events;
4
5
use Illuminate\Http\File;
6
use Illuminate\Database\Eloquent\Model;
7
8
abstract class Event
9
{
10
    /**
11
     * The model instance that failed the upload.
12
     *
13
     * @var \Illuminate\Database\Eloquent\Model
14
     */
15
    public $model;
16
17
    /**
18
     * The failure file.
19
     *
20
     * @var \Illuminate\Http\File
21
     */
22
    public $file;
23
24
    /**
25
     * Construtor da classe.
26
     *
27
     * @return void
28
     */
29
    public function __construct(Model $model, File $file)
30
    {
31
        $this->model = $model;
32
        $this->file = $file;
33
    }
34
}
35