blessing/rejection
最新稳定版本:v1.4.0
Composer 安装命令:
composer require blessing/rejection
包简介
Rejection is an object that indicates you are rejecting.
README 文档
README
Rejection is an object that indicates you are rejecting.
We used this in Blessing Skin Server for plugins.
💿 Install
Run Composer:
composer require blessing/rejection
🔨 Usage
Create a rejection
use Blessing\Rejection; $rejection = new Rejection('reason');
You can pass optional second argument to constructor:
$rejection = new Rejection('reason', ['name' => '']);
Retrieve reason
$rejection->getReason();
Retrieve data:
$rejection->getData();
If your data is an array, you pass a key:
$rejection = new Rejection('reason', ['name' => '']); $rejection->getData('name');
📄 License
MIT License (c) The Blessing Skin Team
统计信息
- 总下载量: 3.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-31