Base Listening Class for Callback Management

This commit is contained in:
Steffen Schröder committed 2014-05-13 01:21:35 +02:00
1 parent 09f61f2ad4
commit 09f11afd6e
8 files changed
+178 -85

No files matched your search

+3 -2
View File
@@ -19,6 +19,7 @@ class CommandManager implements CallbackListener {
*/
private $maniaControl = null;
private $helpManager = array();
// TODO: use listening class
private $adminCommandListeners = array();
private $commandListeners = array();
@@ -38,7 +39,7 @@ class CommandManager implements CallbackListener {
}
/**
* Register a command listener
* Register a Command Listener
*
* @param string $commandName
* @param CommandListener $listener
@@ -97,7 +98,7 @@ class CommandManager implements CallbackListener {
}
/**
* Remove a Command Listener
* Unregister a Command Listener
*
* @param CommandListener $listener
* @return bool