Completed
Push — master ( 02549d...8f92fc )
by João
03:05
created

IclTranslation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A post() 0 4 1
1
<?php
2
3
namespace Presspack\Framework\Support\Translation\Models;
4
5
use Presspack\Framework\Post;
6
use Illuminate\Database\Eloquent\Model;
7
8
class IclTranslation extends Model
9
{
10
    protected $primaryKey = 'translation_id';
11
12
    public function post()
13
    {
14
        return $this->belongsTo(Post::class);
15
    }
16
}
17