Completed
Push — master ( 3f89d7...f790e9 )
by Mike
30:28 queued 29:00
created

AuthorObserver   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A saving() 0 4 1
A retrieved() 0 4 1
1
<?php namespace GeneaLabs\LaravelModelCaching\Tests\Fixtures\Observers;
2
3
use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Author;
4
5
class AuthorObserver
6
{
7
    public function saving(Author $author)
8
    {
9
        $author->email .= "";
10
    }
11
12
    public function retrieved(Author $author)
13
    {
14
        $author->email .= "";
15
    }
16
}
17