* @package timwolla.wcf.chat * @subpackage system.chat.commands */ abstract class AbstractCommand implements ICommand { public $commandHandler = null; public function __construct(CommandHandler $commandHandler) { EventHandler::getInstance()->fireAction($this, 'shouldInit'); $this->commandHandler = $commandHandler; EventHandler::getInstance()->fireAction($this, 'didInit'); } public function getReceiver() { return null; } }