src/Dispatch/Dispatcher.php
public function setTemplate(Template $template)
    {
        $this->template = $template;
        $this->setVariable('template', $template);
        $this->setVariable('tpl', $template);
        return $this;
    }
public function setTemplate(Template $template)
    {
        $this->template = $template;
        $this->setVariable('template', $template);
        $this->setVariable('tpl', $template);
        return $this;
    }
Set the template instance to have apps use.
@param Template $template The template to use
@return Dispatcher Provides fluent interface