public function handle() { $this->setConfig(); $this->checkRequirements(); if ($this->InsertChartIntoFiles()) { $this->sendSuccessMessage(); return; } $this->error('Oops, something went wrong!'); }