Example #1
0
 public static function generateBanningUniqueId(array &$data, $type)
 {
     $self = new self($data);
     return $data['banningInfo'][self::BANNING_ID_KEY] = sprintf('%d_%s_%d', $self->getTeamId(), $type, $self->getUserId());
 }