Method Detail
Summary:
Static Method fromPath (line 67)
Swift_Mime_Attachment fromPath(
string
$path, [string
$contentType = null])
Create a new Attachment from a filesystem path.
Parameters
- string $path:
- string $contentType: optional
Info
Constructor __construct (line 31)
Swift_Attachment __construct(
[string|Swift_OutputByteStream
$data = null], [string
$filename = null], [string
$contentType = null])
Overrides : Swift_Mime_Attachment::__construct() Create a new Attachment with $headers, $encoder and $cache.
Create a new Attachment.
Details may be optionally provided to the constructor.
Parameters
Info