Méthode | Description | |
---|---|---|
__construct ( string $type, array $payload = [] ) | Attachment constructor. | |
getData ( ) : array | ||
getFileData ( ) : string | ||
getPayload ( ) : array | ||
getType ( ) : string | ||
setFileData ( string $fileData ) | ||
setPayload ( array $payload ) | ||
setType ( string $type ) |
public __construct ( string $type, array $payload = [] ) | ||
$type | string | |
$payload | array |