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

AuthorObserver::saving()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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