public function setCurrentConfig($content)
    {
        if (!$this->configExists()) {
            throw new \InvalidArgumentException('The config file does not exist. Did you run the vendor:publish command?');
        }
        $this->filesystem->put($this->getConfigFile(), $content);
    }
public function setCurrentConfig($content)
    {
        if (!$this->configExists()) {
            throw new \InvalidArgumentException('The config file does not exist. Did you run the vendor:publish command?');
        }
        $this->filesystem->put($this->getConfigFile(), $content);
    }
public function setCurrentConfig ( $ content ) { if ( ! $ this -> configExists ( ) ) { throw new \ InvalidArgumentException ( 'The config file does not exist. Did you run the vendor:publish command?' ) ; } $ this -> filesystem -> put ( $ this -> getConfigFile ( ) , $ content ) ; }
Saves config as current config
@param string $content
@return void
Saves config as current config