A trait to implement AttachmentManagerInterface.
| Methods | ||
|---|---|---|
public
|
addAttachment(string $attachment_type, array<mixed> $data): AttachmentManagerInterface
|
# |
public
|
getAttachments(): array<string, array<mixed>>
|
# |
public
|
getAttachmentTypes(): array<string>
|
# |
public
|
getAttachmentsByType(string $attachment_type): array<array<mixed>>
|
# |
public
|
mergeAttachments(AttachmentManagerInterface $manager): void
|
# |
protected
|
resetAttachments(): void
|
# |
| Properties | |||
|---|---|---|---|
protected
|
array<string, array<mixed>>
|
$attachments = []
|
# |