[Solar-svn] Revision 3082

pmjones at solarphp.com pmjones at solarphp.com
Tue Apr 8 09:11:19 CDT 2008


Solar_Mail_Message: [ADD] Method setTransport() to inject a tranport programmatically.


Modified: trunk/Solar/Mail/Message.php
===================================================================
--- trunk/Solar/Mail/Message.php	2008-04-08 14:05:22 UTC (rev 3081)
+++ trunk/Solar/Mail/Message.php	2008-04-08 14:11:19 UTC (rev 3082)
@@ -221,6 +221,21 @@
     
     /**
      * 
+     * Sets the Solar_Mail_Transport dependency.
+     * 
+     * @param Solar_Mail_Transport_Adapter $transport
+     * 
+     * @return Solar_Mail_Message
+     * 
+     */
+    public function setTransport($transport)
+    {
+        $this->_transport = $transport;
+        return $this;
+    }
+    
+    /**
+     * 
      * Sets the CRLF sequence for this message.
      * 
      * @param string $crlf The CRLF line-ending string.




More information about the Solar-svn mailing list