info(sprintf("The following environment file is used: '%s'", $envFilePath)); file_put_contents($this->argument('file'), file_get_contents($envFilePath)); $this->info('The environment file was successfully backed up.'); return 0; } }