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

TranslationTranslation::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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