[TASK] Added the ProtocolHandlerException
[TASK] Started to implement the IRC-Protocol
This commit is contained in:
@@ -10,17 +10,26 @@ abstract class Protocol_AbstractProtocolContentObject {
|
||||
|
||||
/**
|
||||
* Contains the raw data.
|
||||
* Standard attribute
|
||||
* @var string
|
||||
*/
|
||||
public $rawData;
|
||||
protected $rawData;
|
||||
|
||||
/**
|
||||
* Default constructor.
|
||||
* Sets the rawData field.
|
||||
* Sets the raw data.
|
||||
* @return void
|
||||
*/
|
||||
function __construct($rawData) {
|
||||
$this->rawData = $rawData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns raw data.
|
||||
* @return string
|
||||
*/
|
||||
public function getRawData() {
|
||||
return $this->rawData;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user