Permalink
Browse files

Expand doc blocks.

  • Loading branch information...
1 parent 11e428b commit 85a906c0fc92a3a68d6fdb512cd85d33416205bc @markstory markstory committed May 23, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/Cake/Network/Email/CakeEmail.php
@@ -1026,6 +1026,16 @@ public function message($type = null) {
/**
* Configuration to use when send email
*
+ * ### Usage
+ *
+ * Load configuration from `app/Config/email.php`:
+ *
+ * `$email->config('default');`
+ *
+ * Merge an array of configuration into the instance:
+ *
+ * `$email->config(array('to' => 'bill@example.com'));`
+ *
* @param string|array $config String with configuration name (from email.php), array with config or null to return current config
* @return string|array|CakeEmail
*/

0 comments on commit 85a906c

Please sign in to comment.