private function configureDirs()
    {
        // Configure dirs from environment variables and composer extra values.
        foreach ($this->resolver->names() as $name) {
            $default = $this->resolver->raw($name);
            $path = $this->options->get($name . '-dir', $default);
            if ($path !== $default) {
                $this->verbose("Setting <info>$name</> path to <info>$path</>.");
                $this->resolver->define($name, $path);
            }
        }

        if ($this->io->confirm("Do you want to use Bolt's standard folder structure?")) {
            return;
        }

        (new PathCustomizer($this->resolver, $this->io))->run();

        $this->io->writeln("\n<info>Customizing!</info>\n");
    }
private function configureDirs()
    {
        // Configure dirs from environment variables and composer extra values.
        foreach ($this->resolver->names() as $name) {
            $default = $this->resolver->raw($name);
            $path = $this->options->get($name . '-dir', $default);
            if ($path !== $default) {
                $this->verbose("Setting <info>$name</> path to <info>$path</>.");
                $this->resolver->define($name, $path);
            }
        }

        if ($this->io->confirm("Do you want to use Bolt's standard folder structure?")) {
            return;
        }

        (new PathCustomizer($this->resolver, $this->io))->run();

        $this->io->writeln("\n<info>Customizing!</info>\n");
    }
private function configureDirs ( ) { // Configure dirs from environment variables and composer extra values. foreach ( $ this -> resolver -> names ( ) as $ name ) { $ default = $ this -> resolver -> raw ( $ name ) ; $ path = $ this -> options -> get ( $ name . '-dir' , $ default ) ; if ( $ path !== $ default ) { $ this -> verbose ( "Setting <info>$name</> path to <info>$path</>." ) ; $ this -> resolver -> define ( $ name , $ path ) ; } } if ( $ this -> io -> confirm ( "Do you want to use Bolt's standard folder structure?" ) ) { return ; } ( new PathCustomizer ( $ this -> resolver , $ this -> io ) ) -> run ( ) ; $ this -> io -> writeln ( "\n<info>Customizing!</info>\n" ) ; }
Configure dirs from env, composer extra values, and via user input.
Configure dirs from env composer extra values and via user input .