Autarky\Routing\ControllerTrait::render PHP Méthode

render() protected méthode

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