You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
think-library/src/facade/Xmls.php

44 lines
1.5 KiB

4 years ago
<?php
// +----------------------------------------------------------------------
// | ThinkLibrary 5.1 for ThinkPhP 5.1
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 [ https://www.dtapp.net ]
// +----------------------------------------------------------------------
// | 官方网站: https://gitee.com/liguangchun/ThinkLibrary
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 仓库地址 https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 https://github.com/GC0202/ThinkLibrary
// | Packagist 地址 https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
namespace DtApp\ThinkLibrary\facade;
4 years ago
use DtApp\ThinkLibrary\helper\Xmls as helper;
4 years ago
use think\Facade;
/**
* XML门面
4 years ago
* Class Xmls
4 years ago
* @see \DtApp\ThinkLibrary\helper\Xmls
4 years ago
* @package think\facade
4 years ago
* @mixin helper
4 years ago
*
4 years ago
* @method helper toXml(array $values) string 数组转换为xml
* @method helper toArray(string $xml) string 将XML转为array
4 years ago
*/
class Xmls extends Facade
{
/**
* 获取当前Facade对应类名或者已经绑定的容器对象标识
* @access protected
* @return string
*/
protected static function getFacadeClass()
{
4 years ago
return helper::class;
4 years ago
}
}