mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 05:16:49 -04:00
Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\ModuleManager\Entities;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Rennokki\QueryCache\Traits\QueryCacheable;
|
||||
|
||||
class InfixModuleManager extends Model
|
||||
{
|
||||
|
||||
|
||||
protected $table = 'infix_module_managers';
|
||||
protected $fillable = ['name','email','notes','version','purchase_code','installed_domain','activated_date','checksum'];
|
||||
|
||||
|
||||
public static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
self::created(function ($model) {
|
||||
Cache::forget('ModuleManagerList');
|
||||
});
|
||||
self::updated(function ($model) {
|
||||
Cache::forget('ModuleManagerList');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user