Add a lot of docs

This commit is contained in:
2016-07-01 21:59:39 +02:00
parent ffdf0b8476
commit dd2a6bd7d7
9 changed files with 83 additions and 10 deletions

View File

@@ -157,6 +157,11 @@ class Email extends TransportAbstract
$this->encoding = $this->config['encoding'];
}
/**
* @param array $files
*
* @return $this
*/
private function setFiles($files = array())
{
if (is_array($files) && !empty($files)) {
@@ -165,6 +170,11 @@ class Email extends TransportAbstract
return $this;
}
/**
* @param array $streams
*
* @return $this
*/
private function setStreams($streams = array())
{
if (is_array($streams) && !empty($streams)) {
@@ -240,5 +250,3 @@ Content-Disposition: attachment; filename=" . $name . "
}
}
?>