Méthode | Description | |
---|---|---|
__construct ( string | Swift_OutputByteStream $data = null, string $filename = null, string $contentType = null ) | Create a new Attachment. | |
fromPath ( string $path, string $contentType = null ) : Swift_Mime_Attachment | Create a new Attachment from a filesystem path. | |
newInstance ( string | Swift_OutputByteStream $data = null, string $filename = null, string $contentType = null ) : Swift_Mime_Attachment | Create a new Attachment. |