PHP Class Jyxo\Mail\Email\Attachment\InlineFileAttachment

Author: Jaroslav HanslĂ­k
Inheritance: extends Jyxo\Mail\Email\Attachment
Show file Open project: jyxo/php

Protected Properties

Property Type Description
$disposition string Type.

Public Methods

Method Description
__construct ( string $path, string $name, string $cid, string $mimeType = 'application/octet-stream' ) Creates an attachment.
setCid ( string $cid ) : self Sets Id.

Method Details

__construct() public method

Creates an attachment.
public __construct ( string $path, string $name, string $cid, string $mimeType = 'application/octet-stream' )
$path string Filename
$name string Attachment name
$cid string Id
$mimeType string Attachment mime-type

setCid() public method

Sets Id.
public setCid ( string $cid ) : self
$cid string Id
return self

Property Details

$disposition protected property

Type.
protected string $disposition
return string