Framework

This commit is contained in:
2018-12-19 21:29:53 +00:00
parent 0976e17030
commit 27944ac132
5 changed files with 54 additions and 6 deletions

19
src/Handlers.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
require 'MessageHandler.php';
class TestHandler implements MessageHandler
{
public function CanHandle($room_id, $msgid, $message): bool
{
// TODO: Implement canHandle() method.
return $msgid == 0;
}
public function Handle($room_id, $msgid, $message): string
{
// TODO: Implement handle() method.
return "uwu";
}
}