Download the PHP package jsyqw/results without Composer
On this page you can find all versions of the php package jsyqw/results. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jsyqw/results
More information about jsyqw/results
Files in jsyqw/results
Download jsyqw/results
More information about jsyqw/results
Files in jsyqw/results
Please rate this library. Is it a good library?
Informations about the package results
Results 处理结果类的封装
安装
composer require jsyqw/results
使用说明
- 一般用于返回统一格式的时候使用(API)
-
使用的模式三种
1.Trait方式引入 ,在 Class 中引入 eg: use Jsyqw\Ret\Traits\Results
2.对象方式引入 eg: new Jsyqw\Ret\Results()
3.单例引入模式 eg: \Jsyqw\ret\Singleton\Results::instance()->success()
-
返回结果默认格式定义如下
- 调用方法
All versions of results with dependencies
PHP Build Version
Package Version
No informations.
The package jsyqw/results contains the following files
Loading the files please wait ....