/** * This will resolve the given ModelAndView to a view in the filesystem * (an absolute path to a file). * * @param ModelAndView $modelAndView What to render. * * @see Ding\Mvc.IViewResolver::resolve() * @return HttpView */ public function resolve(ModelAndView $modelAndView) { $name = $modelAndView->getName(); $path = $this->_path . DIRECTORY_SEPARATOR . $this->_prefix . $name . $this->_suffix; if ($this->_logger->isDebugEnabled()) { $this->_logger->debug('Using viewpath: ' . $path); } return new HttpView($modelAndView, $path); }