IclTranslation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A post() 0 3 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