|
@@ 48-51 (lines=4) @@
|
| 45 |
|
$cachedModel::deleted($closure); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
Extension::saved(function ($model) { |
| 49 |
|
$this->app['cache.store']->forget('extension.widget.' . $model->id); |
| 50 |
|
$this->app['cache.store']->forget('extension.widget.all'); |
| 51 |
|
}); |
| 52 |
|
Extension::deleted(function ($model) { |
| 53 |
|
$this->app['cache.store']->forget('extension.widget.' . $model->id); |
| 54 |
|
$this->app['cache.store']->forget('extension.widget.all'); |
|
@@ 52-55 (lines=4) @@
|
| 49 |
|
$this->app['cache.store']->forget('extension.widget.' . $model->id); |
| 50 |
|
$this->app['cache.store']->forget('extension.widget.all'); |
| 51 |
|
}); |
| 52 |
|
Extension::deleted(function ($model) { |
| 53 |
|
$this->app['cache.store']->forget('extension.widget.' . $model->id); |
| 54 |
|
$this->app['cache.store']->forget('extension.widget.all'); |
| 55 |
|
}); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |