Completed
Push — master ( e792dd...87504b )
by Sergey
05:24
created

Eventable   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 4
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 22
ccs 8
cts 8
cp 1
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A saving() 0 4 1
A saved() 0 4 1
A deleting() 0 4 1
A deleted() 0 4 1
1
<?php
2
3
namespace Isswp101\Persimmon\Traits;
4
5
trait Eventable
6
{
7 20
    protected function saving()
8
    {
9 20
        return true;
10
    }
11
12 20
    protected function saved()
13
    {
14 20
        return true;
15
    }
16
17 4
    protected function deleting()
18
    {
19 4
        return true;
20
    }
21
22 4
    protected function deleted()
23
    {
24 4
        return true;
25
    }
26
}
27