Archive

Archive for November 11, 2008

PHP Refactoring - Lez. 2: array property of a class

Today we will discuss the properties consist of a class or property containing an array.

We saw in the previous lesson ( PHP Refactoring - Lez. 1: properties of a class ) how to write simple properties of a class.

As regards the properties composed apply the rules of naming convention introduced in the previous tutorial, except the methods of access to the same. Below the standard to follow at the class level.

Continue reading ...