think\View::__get PHP Method

__get() public method

取得模板显示变量的值
public __get ( string $name ) : mixed
$name string 模板变量
return mixed
    public function __get($name)
    {
        return $this->data[$name];
    }