mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
29 lines
503 B
PHP
29 lines
503 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class LanguageString extends Model
|
|
{
|
|
public $timestamps = false;
|
|
|
|
public $primaryKey = null;
|
|
|
|
public $incrementing = false;
|
|
|
|
protected $fillable = ['value' ,'key', 'lang'];
|
|
|
|
protected static function boot()
|
|
{
|
|
parent::boot();
|
|
|
|
static::updated(function() {
|
|
dd('test');
|
|
// Cache::forget('language_strings');
|
|
});
|
|
}
|
|
|
|
}
|