public function run()
    {
        $this->init();
        try {
            $this->bootstrap();
            $this->route();
            $this->dispatch();
        } catch (Exception $e) {
            if (APPLICATION_ENV == self::ENV_DEV) {
                var_dump($e);
            } else {
                throw $e;
            }
        }
        return $this;
    }
public function run()
    {
        $this->init();
        try {
            $this->bootstrap();
            $this->route();
            $this->dispatch();
        } catch (Exception $e) {
            if (APPLICATION_ENV == self::ENV_DEV) {
                var_dump($e);
            } else {
                throw $e;
            }
        }
        return $this;
    }
public function run ( ) { $ this -> init ( ) ; try { $ this -> bootstrap ( ) ; $ this -> route ( ) ; $ this -> dispatch ( ) ; } catch ( Exception $ e ) { if ( APPLICATION_ENV == self :: ENV_DEV ) { var_dump ( $ e ) ; } else { throw $ e ; } } return $ this ; }
bootstrap + route + dispatch
@return $this
@throws \Exception
bootstrap + route + dispatch