ircbot/Classes/Protocol/AbstractProtocolContentObject.php
Jan Philipp Timme 26036e9994 [TASK] Made all constuctors and destructors public.
[TASK] Added some DocComments for the IrcClient.
2010-12-18 14:42:56 +00:00

35 lines
606 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
*/
public function __construct($rawData) {
$this->rawData = $rawData;
}
/**
* Returns raw data.
* @return string
*/
public function getRawData() {
return $this->rawData;
}
}
?>