public function cliAction()
    {
        $exitCode = $this->cliApplication->run(new RequestInput($this->getRequest()));

        if (is_numeric($exitCode)) {
            $model = new ConsoleModel();
            $model->setErrorLevel($exitCode);

            return $model;
        }
    }
public function cliAction()
    {
        $exitCode = $this->cliApplication->run(new RequestInput($this->getRequest()));

        if (is_numeric($exitCode)) {
            $model = new ConsoleModel();
            $model->setErrorLevel($exitCode);

            return $model;
        }
    }
public function cliAction ( ) { $ exitCode = $ this -> cliApplication -> run ( new RequestInput ( $ this -> getRequest ( ) ) ) ; if ( is_numeric ( $ exitCode ) ) { $ model = new ConsoleModel ( ) ; $ model -> setErrorLevel ( $ exitCode ) ; return $ model ; } }
Index action - runs the console application
Index action - runs the console application