Completed
Push — master ( 5b13ac...8f2e40 )
by wen
02:22
created

ActionLogTrait

Complexity

Total Complexity 0

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 2
Metric Value
wmc 0
c 2
b 0
f 2
lcom 0
cbo 0
dl 0
loc 8
1
<?php
2
3
4
namespace Sco\ActionLog\Traits;
5
6
use Sco\ActionLog\Events\ModelCreatedEvent;
7
use Sco\ActionLog\Events\ModelUpdatedEvent;
8
use Sco\ActionLog\Events\ModelUpdatingEvent;
9
10
trait ActionLogTrait
11
{
12
    protected $events = [
13
        'created' => ModelCreatedEvent::class,
14
        'updating' => ModelUpdatingEvent::class,
15
        'updated' => ModelUpdatedEvent::class,
16
    ];
17
}
18