Profile
Achievement
phpexpert's Recent SnippetsTagged php
- All /
« Prev 1 Next »
I like using public properties, as they greatly aid in API development and proper encapsulation. Here's my solution for having the ease of public variable getting without the dangers of public variable setting.
0
842
posted 12 years ago by phpexpert