View Single Post
Old 11-15-2007, 01:42 PM   #2 (permalink)
bluesaga
Super Moderator
Advanced Programmer 
 
bluesaga's Avatar
 
Join Date: Sep 2007
Posts: 165
Thanks: 0
bluesaga is on a distinguished road
Default

Really nice and clean mate, easy to read and definitely helps get a grasp on interfaces!

Can you think of another reason to use interfaces alike you have? I'm finding it hard to think of a good use for something similar to the:

PHP Code:
$pGroupEmailer->addGroup(new RecipientGroup_Admins());
$pGroupEmailer->addGroup(new RecipientGroup_Members()); 
Part, where you use multiple classes. Using only one would be easy, databases or something, but I cant think of a use for using two classes alike that....
__________________
Halo 3 Cheats
bluesaga is offline  
Reply With Quote