@@ -50,6 +50,10 @@ |
||
| 50 | 50 | $this->info('Laravel Gecharl Package Installation Complete!'); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $path |
|
| 55 | + * @param string $value |
|
| 56 | + */ |
|
| 53 | 57 | private function writeChanges($path, string $key, string $configKey, $value){ |
| 54 | 58 | if (Str::contains(file_get_contents($path), "$key") === false) { |
| 55 | 59 | $this->info("Now writing .env with $key=$value ..."); |