protected function modifyEnvironmentFile($param, $type, $value)
    {
        if ($this->paramAlreadyInFile($param, $type)) {
            $this->overwriteExistingParamToFile($param, $type, $value);
        } else {
            $this->addNewParamToFile($param, $value);
        }
    }
protected function modifyEnvironmentFile($param, $type, $value)
    {
        if ($this->paramAlreadyInFile($param, $type)) {
            $this->overwriteExistingParamToFile($param, $type, $value);
        } else {
            $this->addNewParamToFile($param, $value);
        }
    }
protected function modifyEnvironmentFile ( $ param , $ type , $ value ) { if ( $ this -> paramAlreadyInFile ( $ param , $ type ) ) { $ this -> overwriteExistingParamToFile ( $ param , $ type , $ value ) ; } else { $ this -> addNewParamToFile ( $ param , $ value ) ; } }
Update the application environment file with the new config.

@param  string  $param
@param  string  $type
@param  string  $value
@return void
Update the application environment file with the new config .