26036e9994
[TASK] Added some DocComments for the IrcClient.
35 lines
606 B
PHP
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;
|
|
}
|
|
}
|
|
?>
|