src/Models/CacheTrait.php
protected static function bootCacheTrait()
	{
		static::deleted(function($model) {
			$model->deleteFireCache();
		});
		static::saved(function($model) {
			$model->deleteFireCache();
		});
		if (method_exists(static::class, 'restored'))
			static::restored(function($model){
				$model->deleteFireCache();
		});
	}
protected static function bootCacheTrait()
	{
		static::deleted(function($model) {
			$model->deleteFireCache();
		});
		static::saved(function($model) {
			$model->deleteFireCache();
		});
		if (method_exists(static::class, 'restored'))
			static::restored(function($model){
				$model->deleteFireCache();
		});
	}
protected $fire_caches = [];