Files
vuefilemanager/app/Models/LanguageString.php
Peter Papp cdb395c77f cleaning
2021-03-27 12:21:35 +01:00

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');
});
}
}