Completed
Push — issue656-laravel5 ( 79e443...af9e0d )
by
unknown
06:55 queued 03:53
created

NoteMeta   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A user() 0 4 1
1
<?php
2
3
namespace App;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
/**
8
 * 	Note meta model.
9
 */
10
class NoteMeta extends Model
11
{
12
    protected $table = 'note_meta';
13
14
    const TYPE_USER_ACTION = "user_action";
15
16
    public function user()
17
    {
18
        return $this->belongsTo('User');
19
    }
20
}
21