From 51d324aa6c576392675ce82a0b348481869304a2 Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk Date: Sat, 22 Dec 2018 15:30:10 +0000 Subject: [PATCH] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 336b2bc..188db2e 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,8 @@ If you know, you know - `src/entryPoint.php` is the main entry-point function. It will look through all registered implementations of MessageHandler and take the first one that successfully handled the message. **Register new message handler here.** - `src/MessageHandler.php` is the abstract class for message handlers. It has a pre-implemented functions to send responses. - `src/repl.php` is a REPL to send test messages to the entryPoint, intended for quick tests, using PHP CLI. -- `test/` is for PHPUnit tests. It is quite empty atm and only contain a placeholder. \ No newline at end of file +- `test/` is for PHPUnit tests. It is quite empty atm and only contain a placeholder. + + +- Change `$token` in `MessageHandler.php` +- Change defines on top of `entryPoint.php` \ No newline at end of file