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/Ints.php

45 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\Ints as helper;
4 years ago
use think\Facade;
/**
* 数字门面
4 years ago
* Class Ints
4 years ago
* @see \DtApp\ThinkLibrary\helper\Ints
4 years ago
* @package think\facade
4 years ago
* @mixin helper
4 years ago
*
4 years ago
* @method helper isEvenNumbers(int $num) bool 判断一个数是不是偶数
* @method helper isOddNumbers(int $num) bool 判断一个数是不是奇数
4 years ago
*/
class Ints extends Facade
{
/**
* 获取当前Facade对应类名或者已经绑定的容器对象标识
* @access protected
* @return string
*/
protected static function getFacadeClass()
{
4 years ago
return helper::class;
4 years ago
}
}