protected function prepareRevisedEnv($envFile)
    {
        $pattern = '/^' . $this->argument('key') . '=(.*?)(\n??)$/mi';
        $replacement = $this->getKey() . '=' . $this->getValue();

        return preg_replace($pattern, $replacement, $envFile);
    }
protected function prepareRevisedEnv($envFile)
    {
        $pattern = '/^' . $this->argument('key') . '=(.*?)(\n??)$/mi';
        $replacement = $this->getKey() . '=' . $this->getValue();

        return preg_replace($pattern, $replacement, $envFile);
    }
protected function prepareRevisedEnv ( $ envFile ) { $ pattern = '/^' . $ this -> argument ( 'key' ) . '=(.*?)(\n??)$/mi' ; $ replacement = $ this -> getKey ( ) . '=' . $ this -> getValue ( ) ; return preg_replace ( $ pattern , $ replacement , $ envFile ) ; }
Prepare Revised Env File
@param $envFile
@return mixed
Prepare Revised Env File