private function sendSuccessMessage($type) { if ($type == 'parent') { $this->info('Parent Model files successfully modified'); } else { $this->info('All Child files successfully created'); } }