From 0976c4b7ceb20259366d42e1c099c27f7784a180 Mon Sep 17 00:00:00 2001 From: jm-factorin Date: Wed, 18 Jul 2018 16:34:47 +0800 Subject: [PATCH] Add setTemplate() method --- src/TemplateView.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/TemplateView.php b/src/TemplateView.php index 9493472..7081f9c 100644 --- a/src/TemplateView.php +++ b/src/TemplateView.php @@ -24,4 +24,12 @@ public function build() return $this->build(); } + + /** + * @param string $template + */ + public function setTemplate($template) + { + $this->template = $template; + } }