src/Routes/Controller.php
protected function renderFile(RequestApplicationInterface $app, $file, $params = [])
    {
        return $app->view->renderFile($file, $params, $this);
    }
protected function renderFile(RequestApplicationInterface $app, $file, $params = [])
    {
        return $app->view->renderFile($file, $params, $this);
    }
Render file
@param RequestApplicationInterface $app
@param string                      $file
@param array                       $params
@return string