refreshFor() public method

Clear the cache for the given authority.
public refreshFor ( Model $authority )
$authority Illuminate\Database\Eloquent\Model
Esempio n. 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);
 }