承接 sergiors/applyzer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-08