mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
统一方法名
This commit is contained in:
@@ -161,7 +161,7 @@ class Template
|
||||
* @param array $config 模板参数
|
||||
* @return void
|
||||
*/
|
||||
public function display($template, $vars = [], $config = [])
|
||||
public function fetch($template, $vars = [], $config = [])
|
||||
{
|
||||
if ($vars) {
|
||||
$this->data = $vars;
|
||||
@@ -208,7 +208,7 @@ class Template
|
||||
* @param array $config 模板参数
|
||||
* @return void
|
||||
*/
|
||||
public function fetch($content, $vars = [], $config = [])
|
||||
public function display($content, $vars = [], $config = [])
|
||||
{
|
||||
if ($vars) {
|
||||
$this->data = $vars;
|
||||
|
||||
Reference in New Issue
Block a user