Swift_Mime_Attachment::setFile
Set the file that this attachment is for.
Signature
public function setFile(Swift_FileStream
$file,
[string
$contentType = null] )
Parameters
$file
— Swift_FileStream
$contentType
— string- optional
Returns
- Swift_Mime_Attachment