ircbot/Classes/Protocol/BotProtocolHandler.php
2010-11-28 02:45:25 +00:00

17 lines
347 B
PHP

<?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);
}
}
?>