public function run($console = false)
    {
        $commands = $this->commands;

        is_string($commands) && $commands = $this->classes();

        foreach ((array) $commands as $command) {
            $item = $this->container->get($command);

            $this->console->add($instance = $item);
        }

        $console === false && $this->console->run();

        return $this->console;
    }
public function run($console = false)
    {
        $commands = $this->commands;

        is_string($commands) && $commands = $this->classes();

        foreach ((array) $commands as $command) {
            $item = $this->container->get($command);

            $this->console->add($instance = $item);
        }

        $console === false && $this->console->run();

        return $this->console;
    }
public function run ( $ console = false ) { $ commands = $ this -> commands ; is_string ( $ commands ) && $ commands = $ this -> classes ( ) ; foreach ( ( array ) $ commands as $ command ) { $ item = $ this -> container -> get ( $ command ) ; $ this -> console -> add ( $ instance = $ item ) ; } $ console === false && $ this -> console -> run ( ) ; return $ this -> console ; }
Runs the console instance.

@param  boolean $console
@return \Symfony\Component\Console\Application
Runs the console instance .