ircbot/Classes/Protocol/AbstractProtocolContentObject.php

35 lines
606 B
PHP
Raw Normal View History

2010-11-28 01:04:35 +01:00
<?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
2010-11-28 01:04:35 +01:00
* @var string
*/
protected $rawData;
2010-11-28 01:04:35 +01:00
/**
* Default constructor.
* Sets the raw data.
2010-11-28 01:04:35 +01:00
* @return void
*/
public function __construct($rawData) {
2010-11-28 01:04:35 +01:00
$this->rawData = $rawData;
}
/**
* Returns raw data.
* @return string
*/
public function getRawData() {
return $this->rawData;
}
2010-11-28 01:04:35 +01:00
}
?>