IclTranslation::post()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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