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