public function commandComment($message) { $this->commandObj->comment($message); }
public function rollback() { if (Str::contains($this->menuContents, $this->menuTemplate)) { file_put_contents($this->path, str_replace($this->menuTemplate, '', $this->menuContents)); $this->commandData->commandComment('menu deleted'); } }