public function render($matchedURITemplate, array $params = array())
    {
        // For current URI template
        $options = $this->mapManager->getDataByUriTemplate($matchedURITemplate);

        $class = $this->mapManager->getControllerByURITemplate($matchedURITemplate);
        $action = $this->mapManager->getActionByURITemplate($matchedURITemplate);

        return $this->call($class, $action, $params, $options);
    }
public function render($matchedURITemplate, array $params = array())
    {
        // For current URI template
        $options = $this->mapManager->getDataByUriTemplate($matchedURITemplate);

        $class = $this->mapManager->getControllerByURITemplate($matchedURITemplate);
        $action = $this->mapManager->getActionByURITemplate($matchedURITemplate);

        return $this->call($class, $action, $params, $options);
    }
public function render ( $ matchedURITemplate , array $ params = array ( ) ) { // For current URI template $ options = $ this -> mapManager -> getDataByUriTemplate ( $ matchedURITemplate ) ; $ class = $ this -> mapManager -> getControllerByURITemplate ( $ matchedURITemplate ) ; $ action = $ this -> mapManager -> getActionByURITemplate ( $ matchedURITemplate ) ; return $ this -> call ( $ class , $ action , $ params , $ options ) ; }
Dispatches a controller according to the request

@param string $matchedURITemplate
@param array $params URI arguments URI place-holders
@return string The returned value of the controller action method
Dispatches a controller according to the request