[TASK] Changed behaviour of protocol register.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* A 1:1 passthrough handler
|
||||
* @author JPT
|
||||
* @package Protocol
|
||||
*/
|
||||
class Protocol_BotProtocolHandler extends Protocol_AbstractProtocolHandler {
|
||||
|
||||
/**
|
||||
* @param string $data
|
||||
* @return Protocol_RawProtocolContentObject
|
||||
*/
|
||||
public function parse($data) {
|
||||
return new Protocol_BotProtocolContentObject($data);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user