DispatchingAudit   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 15
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace OwenIt\Auditing\Events;
4
5
use OwenIt\Auditing\Contracts\Auditable;
6
7
class DispatchingAudit
8
{
9
    /**
10
     * The Auditable model.
11
     *
12
     * @var Auditable
13
     */
14
    public $model;
15
16
    /**
17
     * Create a new DispatchingAudit event instance.
18
     */
19
    public function __construct(Auditable $model)
20
    {
21 15
        $this->model = $model;
22
    }
23
}
24