Completed
Push — master ( 4ab3fd...394510 )
by Nicolas
20:58 queued 03:16
created

TranslationTranslation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 2
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 1
1
<?php namespace Modules\Translation\Entities;
2
3
use Illuminate\Database\Eloquent\Model;
4
use Venturecraft\Revisionable\RevisionableTrait;
5
6
class TranslationTranslation extends Model
7
{
8
    use RevisionableTrait;
9
    public $timestamps = false;
10
    protected $fillable = ['value'];
11
    protected $table = 'translation__translation_translations';
12
13
    protected $revisionEnabled = true;
14
    protected $revisionCleanup = true;
15
    protected $historyLimit = 100;
16
17
    public static function boot()
18
    {
19
        parent::boot();
20
    }
21
}
22