concrete/src/Foundation/Runtime/Run/CLIRunner.php
public function run()
    {
        $console = $this->console;
        $this->app->instance('console', $console);

        $this->loadBootstrap();
        $this->initializeSystemTimezone();

        $input = new ArgvInput();
        if ($input->getFirstArgument() !== 'c5:update') {
            if ($this->app->isInstalled()) {
                $this->app->setupPackageAutoloaders();
                $this->app->setupPackages();
            }
        }

        // Handle legacy backwards compatibility
        if (method_exists($console, 'setupDefaultCommands')) {
            $console->setupDefaultCommands();
        }

        \Events::dispatch('on_before_console_run');

        $console->run($input);

        \Events::dispatch('on_after_console_run');
    }
public function run()
    {
        $console = $this->console;
        $this->app->instance('console', $console);

        $this->loadBootstrap();
        $this->initializeSystemTimezone();

        $input = new ArgvInput();
        if ($input->getFirstArgument() !== 'c5:update') {
            if ($this->app->isInstalled()) {
                $this->app->setupPackageAutoloaders();
                $this->app->setupPackages();
            }
        }

        // Handle legacy backwards compatibility
        if (method_exists($console, 'setupDefaultCommands')) {
            $console->setupDefaultCommands();
        }

        \Events::dispatch('on_before_console_run');

        $console->run($input);

        \Events::dispatch('on_after_console_run');
    }
public function run ( ) { $ console = $ this -> console ; $ this -> app -> instance ( 'console' , $ console ) ; $ this -> loadBootstrap ( ) ; $ this -> initializeSystemTimezone ( ) ; $ input = new ArgvInput ( ) ; if ( $ input -> getFirstArgument ( ) !== 'c5:update' ) { if ( $ this -> app -> isInstalled ( ) ) { $ this -> app -> setupPackageAutoloaders ( ) ; $ this -> app -> setupPackages ( ) ; } } // Handle legacy backwards compatibility if ( method_exists ( $ console , 'setupDefaultCommands' ) ) { $ console -> setupDefaultCommands ( ) ; } \ Events :: dispatch ( 'on_before_console_run' ) ; $ console -> run ( $ input ) ; \ Events :: dispatch ( 'on_after_console_run' ) ; }
Run the runtime.

@return mixed
Run the runtime .