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