/** * Undo the command and make receiver to disable displaying messages date. */ public function undo() { // sometimes, there is no receiver and this is the command which // does all the work $this->output->disableDate(); }