ircbot/Classes/Protocol/AbstractProtocolContentObject.php
Jan Philipp Timme 03a4dfff71 [TASK] Added the ProtocolHandlerException
[TASK] Started to implement the IRC-Protocol
2010-12-12 21:44:19 +00:00

35 lines
599 B
PHP

<?php
/**
* The abstract ContentObject that will contain
* "parsed data" from the ProtocolHandler
* @author JPT
* @abstract
* @package Protocol
*/
abstract class Protocol_AbstractProtocolContentObject {
/**
* Contains the raw data.
* Standard attribute
* @var string
*/
protected $rawData;
/**
* Default constructor.
* Sets the raw data.
* @return void
*/
function __construct($rawData) {
$this->rawData = $rawData;
}
/**
* Returns raw data.
* @return string
*/
public function getRawData() {
return $this->rawData;
}
}
?>