Advanced PHP: Using Abstract Classes to Define Rules
The way i visualize this is to think that i am entering into an 'agreement' between me and PHP. In other words, I have defined a list of methods (rules) in the interface that I (or any other developer) must implement in any implemented class, so in any implemented classes i am agreeing to conform with the interface's rules.
Views: 872 | | by Troy
View this tutorial