public refreshFor ( |
||
$authority |
public function refreshFor(Model $authority)
{
if ($this->usesCachedClipboard()) {
$this->clipboard->refreshFor($authority);
}
return $this;
}
/** * Clear the cache for the given user. * * @param \Illuminate\Database\Eloquent\Model $user * @return $this * @static */ public static function refreshFor($user) { return \Silber\Bouncer\Bouncer::refreshFor($user); }