Exemplo n.º 1
0
 /**
  * Determines if a user can view this ban (as moderator or client).
  *
  * @param  PermissionUser  $user
  * @return boolean
  */
 public function canView(PermissionUser $user)
 {
     return $this->isBanForIP() || $user->canViewBan($this);
 }