public function refresh($authority = null) { if (!is_null($authority)) { return $this->refreshFor($authority); } if ($this->cache instanceof TaggedCache) { $this->cache->flush(); } else { $this->refreshAllIteratively(); } return $this; }
/** * Clear the cache. * * @param null|\Illuminate\Database\Eloquent\Model $user * @return $this */ public function refresh(Model $user = null) { $this->clipboard->refresh($user); return $this; }