Test Failed
Push — master ( 1a9cc9...cac184 )
by Morten
25:35
created

DispatchAudit::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace OwenIt\Auditing\Events;
4
5
use OwenIt\Auditing\Contracts\Auditable;
6
use Illuminate\Foundation\Events\Dispatchable;
7
8
class DispatchAudit
9
{
10
    use Dispatchable;
11
12
    /**
13
     * The Auditable model.
14
     *
15
     * @var Auditable
16
     */
17
    public $model;
18
19
    /**
20
     * Create a new DispatchAudit event instance.
21
     *
22
     * @param Auditable $model
23
     */
24
    public function __construct(Auditable $model)
25
    {
26
        $this->model = $model;
27
    }
28
}
29