mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
cleaning
This commit is contained in:
28
app/Models/LanguageString.php
Normal file
28
app/Models/LanguageString.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user