Autarky\Routing\ControllerTrait::render PHP Method

render() protected method

Render a template.
protected render ( string $name, array $data = [] ) : string
$name string Name of the view.
$data array Data to pass to the view.
return string
    protected function render($name, array $data = array())
    {
        return $this->container->resolve('Autarky\\TwigTemplating\\TemplatingEngine')->render($name, $data);
    }