private function createContent(ServerRequestInterface $request)
    {
        $route = $request->getAttribute('route');
        $template = $this->viewInflector->inflect($route);
        $this->templateEngine->parse($template);
        return $this->templateEngine->process($request->getAttribute('viewData', []));
    }
private function createContent(ServerRequestInterface $request)
    {
        $route = $request->getAttribute('route');
        $template = $this->viewInflector->inflect($route);
        $this->templateEngine->parse($template);
        return $this->templateEngine->process($request->getAttribute('viewData', []));
    }
private function createContent ( ServerRequestInterface $ request ) { $ route = $ request -> getAttribute ( 'route' ) ; $ template = $ this -> viewInflector -> inflect ( $ route ) ; $ this -> templateEngine -> parse ( $ template ) ; return $ this -> templateEngine -> process ( $ request -> getAttribute ( 'viewData' , [ ] ) ) ; }
Generates the content form request attributes

@param ServerRequestInterface $request

@return string
Generates the content form request attributes