Swift_Mime_Attachment::__construct
Create a new Attachment with $headers, $encoder and $cache.
Signature
public function __construct(Swift_Mime_HeaderSet
$headers,
Swift_Mime_ContentEncoder
$encoder,
Swift_KeyCache
$cache,
Swift_Mime_Grammar
$grammar,
array
$mimeTypes )
Parameters
$headers
— Swift_Mime_HeaderSet
$encoder
— Swift_Mime_ContentEncoder
$cache
— Swift_KeyCache
$grammar
— Swift_Mime_Grammar
$mimeTypes
— array- optional