File "Language.php"

Full Path: /home/isoftco/public_html/hrm/app/Models/Language.php
File size: 588 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Models;

class Language extends BaseModel
{
    use \Venturecraft\Revisionable\RevisionableTrait;

    protected $revisionEnabled = true;
    protected $revisionCreationsEnabled = true;
    protected $revisionCleanup = true; //Remove old revisions (works only when used with $historyLimit)
    protected $historyLimit = 500; //Maintain a maximum of 500 changes at any point of time, while cleaning up old

    protected $fillable = [];

    public $timestamps = false;

    public function scopeActive($query)
    {
        return $query->where('active', 1);
    }
}