提交的内容
This commit is contained in:
7
vendor/topthink/framework/tests/ViewTest.php
vendored
Executable file → Normal file
7
vendor/topthink/framework/tests/ViewTest.php
vendored
Executable file → Normal file
@ -70,7 +70,6 @@ class TestTemplate implements TemplateHandlerInterface
|
||||
|
||||
/**
|
||||
* 检测是否存在模板文件
|
||||
* @access public
|
||||
* @param string $template 模板文件或者模板规则
|
||||
* @return bool
|
||||
*/
|
||||
@ -81,7 +80,6 @@ class TestTemplate implements TemplateHandlerInterface
|
||||
|
||||
/**
|
||||
* 渲染模板文件
|
||||
* @access public
|
||||
* @param string $template 模板文件
|
||||
* @param array $data 模板变量
|
||||
* @return void
|
||||
@ -93,7 +91,6 @@ class TestTemplate implements TemplateHandlerInterface
|
||||
|
||||
/**
|
||||
* 渲染模板内容
|
||||
* @access public
|
||||
* @param string $content 模板内容
|
||||
* @param array $data 模板变量
|
||||
* @return void
|
||||
@ -105,7 +102,6 @@ class TestTemplate implements TemplateHandlerInterface
|
||||
|
||||
/**
|
||||
* 配置模板引擎
|
||||
* @access private
|
||||
* @param array $config 参数
|
||||
* @return void
|
||||
*/
|
||||
@ -116,9 +112,8 @@ class TestTemplate implements TemplateHandlerInterface
|
||||
|
||||
/**
|
||||
* 获取模板引擎配置
|
||||
* @access public
|
||||
* @param string $name 参数名
|
||||
* @return void
|
||||
* @return mixed
|
||||
*/
|
||||
public function getConfig(string $name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user