added license and copyright annotations
improved phpdoc
This commit is contained in:
@ -3,9 +3,11 @@
|
||||
namespace ManiaControl\Commands;
|
||||
|
||||
/**
|
||||
* Interface for command listeners
|
||||
* Interface for Command Listeners
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface CommandListener {
|
||||
}
|
||||
|
@ -9,11 +9,12 @@ use ManiaControl\ManiaControl;
|
||||
/**
|
||||
* Class for handling Chat Commands
|
||||
*
|
||||
* @property mixed commandListeners
|
||||
* @author steeffeen & kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class CommandManager implements CallbackListener {
|
||||
/**
|
||||
/*
|
||||
* Private Properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
|
@ -8,12 +8,14 @@ use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Players\Player;
|
||||
|
||||
/**
|
||||
* ManiaControl Chat-Message Plugin
|
||||
* Help Manager
|
||||
*
|
||||
* @author kremsy and steeffeen
|
||||
* @author kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class HelpManager implements CommandListener, CallbackListener {
|
||||
/**
|
||||
/*
|
||||
* Private Properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
@ -87,5 +89,4 @@ class HelpManager implements CommandListener, CallbackListener {
|
||||
array_push($this->playerCommands, array("Name" => $name, "Description" => $description));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user