-
Take Me Home
-
All Articles
-
Contact the author
View Articles Filed Under:
- (2)
Software
- (1)
Culinary Ruminations
- (2)
Fishing
- (3)
Web Tutorials
- (5)
Tools
- (8)
Recipes
- (4)
Homebrew
- (1)
Thanks!
- Search This Site:
Getter / Setter Method Generator for PHP:
Enter a space-separates list of class members:
test
Name of the internal variable:
Your Getter / Setter Methods:
Options:
Show Comment Stubs:
Use variable name in 'setter' methods:
Print internal class variable declaration
Variable Style:
underscore_delimited
What is this tool?
Object oriented languages are great, but constantly writing getter and setter methods for these classes gets really old, really quickly.
A solution? The
GetterSetterGenerator
! Simply enter a whitespace-delineated list of your member variable names and the tool will generate generic getter and setter methods for these member variables. Just copy-and-paste the output into your editor and get going just a little faster...
Like it?
Leave a Comment!