public function handle() { $this->setConfigFromInputs(); if ($this->makeViewDirectory()->makeViewFiles($this->templateType)) { $this->sendSuccessMessage(); return; } $this->error('Oops, something went wrong!'); }