AttachmentsType
in package
Class representing AttachmentsType.
XSD Type: attachmentsType
Table of Contents
Properties
- $attachment : array<string|int, AttachmentType>
Methods
- addToAttachment() : self
- Adds as attachment.
- getAttachment() : array<string|int, AttachmentType>
- Gets as attachment.
- issetAttachment() : bool
- isset attachment.
- setAttachment() : self
- Sets a new attachment.
- unsetAttachment() : void
- unset attachment.
Properties
$attachment
private
array<string|int, AttachmentType>
$attachment
= []
Methods
addToAttachment()
Adds as attachment.
public
addToAttachment(AttachmentType $attachment) : self
Parameters
- $attachment : AttachmentType
Return values
selfgetAttachment()
Gets as attachment.
public
getAttachment() : array<string|int, AttachmentType>
Return values
array<string|int, AttachmentType>issetAttachment()
isset attachment.
public
issetAttachment(int|string $index) : bool
Parameters
- $index : int|string
Return values
boolsetAttachment()
Sets a new attachment.
public
setAttachment(array<string|int, AttachmentType> $attachment) : self
Parameters
- $attachment : array<string|int, AttachmentType>
Return values
selfunsetAttachment()
unset attachment.
public
unsetAttachment(int|string $index) : void
Parameters
- $index : int|string