@@ -51,6 +51,10 @@ |
||
| 51 | 51 | $this->info('Laravel ClubKonnect Package Installation Complete!'); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $path |
|
| 56 | + * @param string $value |
|
| 57 | + */ |
|
| 54 | 58 | private function writeChanges($path, string $key, string $configKey, $value){ |
| 55 | 59 | if (Str::contains(file_get_contents($path), "$key") === false) { |
| 56 | 60 | $this->info("Now writing .env with $key=$value ..."); |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | protected $config; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $instanceName |
|
| 30 | + */ |
|
| 28 | 31 | public function __construct($baseUrl, $instanceName, $config) |
| 29 | 32 | { |
| 30 | 33 | $this->baseUrl = $baseUrl; |