public function add($reason = null, $host = null, $player_id = null, $expire = null) { $ban = new Ban($reason, $host, $player_id, $expire); $this->list[] = $ban; $this->observer->say('Ban #' . $ban->id . ' added : ' . $ban->reason . '(' . $ban->mask() . ')'); }