News Archive
PhpRiot Newsletter
Your Email Address:

More information

In Further Defense Of Avoiding Private Methods

Note: This article was originally published at Planet PHP on 12 December 2012.
Planet PHP
I do not wholeheartedly believe that private methods are evil, or that they were mistakenly included in the PHP language by the core development team. Nor do I believe that there are only two true options when it comes to devising visibility requirements: public and protected. There is a place for private methods, in PHP [...]