| 1 | <?php namespace Modules\Translation\Entities; |
||
| 9 | class TranslationTranslation extends Model |
||
| 10 | { |
||
| 11 | use RevisionableTrait; |
||
| 12 | public $timestamps = false; |
||
| 13 | protected $fillable = ['value']; |
||
| 14 | protected $table = 'translation__translation_translations'; |
||
| 15 | |||
| 16 | protected $revisionEnabled = true; |
||
| 17 | protected $revisionCleanup = true; |
||
| 18 | protected $historyLimit = 100; |
||
| 19 | protected $revisionCreationsEnabled = true; |
||
| 20 | |||
| 21 | public function __construct(array $attributes = []) |
||
| 22 | { |
||
| 23 | parent::__construct($attributes); |
||
| 24 | $this->historyLimit = config('asgard.translation.config.revision-history-limit', 100); |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function boot() |
||
| 31 | } |
||
| 32 |