for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// | Author: liu21st <[email protected]>
namespace think\facade;
use think\Facade;
/**
* @see \think\View
* @mixin \think\View
* @method \think\View assign(mixed $name, mixed $value = null) static 模板变量赋值
* @method \think\View config(array $config ) static 配置模板引擎
* @method \think\View exists(string $name) static 检查模板是否存在
* @method \think\View filter(Callable $filter) static 视图内容过滤
* @method \think\View engine(string $type, array $options = []) static 设置/切换当前模板解析的引擎
* @method string fetch(string $template = '') static 解析和获取模板内容
* @method string display(string $content = '') static 渲染内容输出
*/
class View extends Facade
{
* 获取当前Facade对应类名(或者已经绑定的容器对象标识)
* @access protected
* @return string
protected static function getFacadeClass()
return 'think\View';
}