From 07bf540244304df2dfc0eedf527d133cd2b869e5 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 4 Sep 2019 22:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Think.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Think.php b/src/Think.php index 08439fd..efce93a 100644 --- a/src/Think.php +++ b/src/Think.php @@ -87,18 +87,6 @@ public function exists(string $template): bool return is_file($template); } - /** - * 模板变量赋值 - * @access public - * @param array $vars - * @return $this - */ - public function assign(array $vars = []) - { - $this->template->assign($vars); - return $this; - } - /** * 渲染模板文件 * @access public