public static function render(ResponseInterface $response, $view, array $params = [])
    {
        return Application::getInstance()->view->render($response, $view, $params);
    }
public static function render(ResponseInterface $response, $view, array $params = [])
    {
        return Application::getInstance()->view->render($response, $view, $params);
    }
public static function render ( ResponseInterface $ response , $ view , array $ params = [ ] ) { return Application :: getInstance ( ) -> view -> render ( $ response , $ view , $ params ) ; }
Render a view file.

@param ResponseInterface $response
@param string $view   Path of view file started from 'views' directory
@param array  $params Assosiative array containing parameters to be passed to view
@return ResponseInterface
Render a view file .