[TASK] Introducing the ProtocolHandler
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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.
|
||||
* @var string
|
||||
*/
|
||||
public $rawData;
|
||||
|
||||
/**
|
||||
* Default constructor.
|
||||
* Sets the rawData field.
|
||||
* @return void
|
||||
*/
|
||||
function __construct($rawData) {
|
||||
$this->rawData = $rawData;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user