Acacha\Llum\Traits\LaravelConfigFile::installConfigFile PHP Method

installConfigFile() protected method

Install llum custom config/app.php file.
protected installConfigFile ( ) : integer
return integer
    protected function installConfigFile()
    {
        if ($this->testLaravelConfigFileExists() == -1) {
            return;
        }
        $this->showWarningIfLaravelConfigAlreadySupportsLlum();
        if ($this->isNoBashActive()) {
            $this->installConfigFileWithStubs();
            $this->output->writeln('<info>File ' . $this->laravel_config_file . ' overwrited correctly with and stub.</info>');
        } else {
            $this->installConfigFileWithBash();
        }
        return 0;
    }