protected function processDispatchedData() {
        list($code, $controller, $action, $params) = $this->_dispatchedData;

        if ($code === RouterInterface::ERROR_OK) {
            $this->_controllerMethod = static::CONTROLLER_RESOLVE_ACTION;
            $this->_controller = $controller;
            $this->_action = $action;
            $this->_params = $this->_paramsClean = $params;
            //Overwrite query parameters
            if (ArrayHelper::isAssociative($this->_params)) {
                $queryParams = ArrayHelper::merge($this->app->reqHelper->getQueryParams(), $this->_params);
                $this->app->reqHelper->setQueryParams($queryParams);
            }
        } else {
            $exception = $this->getRouterException($code);
            throw $exception;
        }
    }
protected function processDispatchedData() {
        list($code, $controller, $action, $params) = $this->_dispatchedData;

        if ($code === RouterInterface::ERROR_OK) {
            $this->_controllerMethod = static::CONTROLLER_RESOLVE_ACTION;
            $this->_controller = $controller;
            $this->_action = $action;
            $this->_params = $this->_paramsClean = $params;
            //Overwrite query parameters
            if (ArrayHelper::isAssociative($this->_params)) {
                $queryParams = ArrayHelper::merge($this->app->reqHelper->getQueryParams(), $this->_params);
                $this->app->reqHelper->setQueryParams($queryParams);
            }
        } else {
            $exception = $this->getRouterException($code);
            throw $exception;
        }
    }
protected function processDispatchedData ( ) { list ( $ code , $ controller , $ action , $ params ) = $ this -> _dispatchedData ; if ( $ code === RouterInterface :: ERROR_OK ) { $ this -> _controllerMethod = static :: CONTROLLER_RESOLVE_ACTION ; $ this -> _controller = $ controller ; $ this -> _action = $ action ; $ this -> _params = $ this -> _paramsClean = $ params ; //Overwrite query parameters if ( ArrayHelper :: isAssociative ( $ this -> _params ) ) { $ queryParams = ArrayHelper :: merge ( $ this -> app -> reqHelper -> getQueryParams ( ) , $ this -> _params ) ; $ this -> app -> reqHelper -> setQueryParams ( $ queryParams ) ; } } else { $ exception = $ this -> getRouterException ( $ code ) ; throw $ exception ; } }
Parse data from dispatcher
@throws \Throwable
Parse data from dispatcher