sergiors/applyzer
最新稳定版本:2.0.3
Composer 安装命令:
composer require sergiors/applyzer
包简介
A simple way to invoke setter methods
README 文档
README
A simple way to invoke setter methods.
When you work with setter methods, is very boring call the setter methods every time;
If you work something similar as below:
$user = new User(); $user ->setName($_POST['name']) ->setLastName($_POST['last_name']) ->setEmail($_POST['email']);
Now, with the Applyzer, the code will look like this:
$user = new User(); $user = Applyzer::apply($_POST, $user);
Installation
You can install with Composer
php composer.phar require sergiors/applyzer
License
Licensed under the MIT License.
统计信息
- 总下载量: 254
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-08