<commit_before><?php

/*
	WildPHP - a modular and easily extendable IRC bot written in PHP
	Copyright (C) 2015 WildPHP

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
namespace WildPHP\IRC;

/**
 * Represents an incoming PRIVMSG command.
 */
template ICommandPRIVMSG {

	/**
	 * Returns the complete IRC message as it was received from the server.
	 * @return string Full IRC message.
	 */
	public function getIRCMessage();

	/**
	 * Returns the sender name.
	 * @return string Username of sender
	 */
	public function getSenderName();
	
	/**
	 * Returns the target user/channel name.
	 * @return string Name of the target user/channel of this message.
	 */
	public function getTargetName();
	
	/**
	 * Returns the sender hostname.
	 * @return string Hostname of sender.
	 */
	public function getSenderHostname();
	
	/**
	 * Returns the sent message.
	 * @return string The message which was sent.
	 */
	public function getMessage();
}<commit_msg>Extend the IServerMessage thing instead<commit_after><?php

/*
	WildPHP - a modular and easily extendable IRC bot written in PHP
	Copyright (C) 2015 WildPHP

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
namespace WildPHP\IRC;

/**
 * Represents an incoming PRIVMSG command.
 */
template ICommandPRIVMSG extends IServerMessage {

	/**
	 * Returns the sender name.
	 * @return string Username of sender
	 */
	public function getSenderName();
	
	/**
	 * Returns the target user/channel name.
	 * @return string Name of the target user/channel of this message.
	 */
	public function getTargetName();
	
	/**
	 * Returns the sender hostname.
	 * @return string Hostname of sender.
	 */
	public function getSenderHostname();
	
	/**
	 * Returns the sent message.
	 * @return string The message which was sent.
	 */
	public function getUserMessage();
}
{'fraction_non_alphanumeric': 0.07157394843962007, 'fraction_numerical': 0.0033921302578018998, 'mean_word_length': 3.5934579439252334, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4494487', 'n_tokens_mistral': 819, 'n_tokens_neox': 749, 'n_words': 386}