Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
/ applyzer Public archive
forked from sergiors/applyzer

A simple way to invoke setter methods

License

Notifications You must be signed in to change notification settings

cassiosantos/applyzer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applyzer

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.

About

A simple way to invoke setter methods

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%