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

NoteMeta::user()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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