refreshFor() public method

Clear the cache for the given authority.
public refreshFor ( Model $authority )
$authority Illuminate\Database\Eloquent\Model
Example #1
0
 /**
  * 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);
 }