Best Tutorials website


Advanced PHP: Using Abstract Classes to Define Rules

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: 801 | Rating star | by Troy




View this tutorial
Broken link Report broken link?