[TASK] Introducing the ProtocolHandler

This commit is contained in:
Jan Philipp Timme
2010-11-28 00:04:35 +00:00
parent f3b1354aa2
commit bdd9f671ad
7 changed files with 84 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
/**
* The ProtocolHandler for the IRC Protocol.
* @author JPT
* @package Protocol
*/
class IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
/**
* @param string $data
* @return Protocol_IrcProtocolContentObject
*/
public function parse($data) {
return new Protocol_IrcProtocolContentObject($data);
}
}
?>