Magento Forum

Question for the devs: final class Mage, why? 
 
Dylan
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-01-30
 

Final class on Mage seems like an unnecessary restriction. I can think of a few circumstances in which it may be nice to extend this class, particularly for exploring the code base, or a debug mode. I understand the various classes that call Mage::methods specifically won’t use the child class, but I can see a few circumstances in which a developer might want to extend some methods for their own use (running it through a debug_index.php front controller, for example). Any chance on getting final keyword removed for the release version?

Thanks,
Dylan

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top