[Solar-svn] Revision 2900

pmjones at solarphp.com pmjones at solarphp.com
Fri Oct 19 18:55:15 CDT 2007


Solar_Base: [ADD] Per note from Clay Loveless, add an empty default __destruct() method for safe fallbacks to parent::__destruct().  Thanks Clay.


Modified: trunk/Solar/Base.php
===================================================================
--- trunk/Solar/Base.php	2007-10-19 23:44:30 UTC (rev 2899)
+++ trunk/Solar/Base.php	2007-10-19 23:55:14 UTC (rev 2900)
@@ -139,6 +139,18 @@
     
     /**
      * 
+     * Default destructor; does nothing other than provide a safe fallback
+     * for calls to parent::__destruct().
+     * 
+     * @return void
+     * 
+     */
+    public function __destruct()
+    {
+    }
+    
+    /**
+     * 
      * Reports the API version for this class.
      * 
      * If you don't override this method, your classes will use the same




More information about the Solar-svn mailing list