Completed
Push — master ( 36bbdb...4b40a1 )
by Lorenzo
12:07
created

UploadExecuted   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
4
namespace Padosoft\Uploadable\Events;
5
6
use Illuminate\Database\Eloquent\Model;
7
8
class UploadExecuted
9
{
10
    /**
11
     * @var String
12
     */
13
    public $attributeName;
14
    /**
15
     * @var Model
16
     */
17
    public $target;
18
19
    public function __construct($attributeName, $target)
20
    {
21
        $this->attributeName = $attributeName;
22
        $this->target = $target;
23
    }
24
}
25