BatchPlaintextDocuments
in package
A batch of documents which have been decrypted.
Table of Contents
- $documents : array<string|int, PlaintextDocument>
- $failures : array<string|int, TenantSecurityException>
- __construct() : mixed
- getFailures() : array<string|int, TenantSecurityException>
- getPlaintextDocuments() : array<string|int, PlaintextDocument>
Properties
$documents
private
array<string|int, PlaintextDocument>
$documents
$failures
private
array<string|int, TenantSecurityException>
$failures
Methods
__construct()
public
__construct(array<string|int, mixed> $documents, array<string|int, mixed> $failures) : mixed
Parameters
- $documents : array<string|int, mixed>
- $failures : array<string|int, mixed>
Return values
mixed —getFailures()
public
getFailures() : array<string|int, TenantSecurityException>
Return values
array<string|int, TenantSecurityException> —Documents which failed to be decrypted
getPlaintextDocuments()
public
getPlaintextDocuments() : array<string|int, PlaintextDocument>
Return values
array<string|int, PlaintextDocument> —Successfully decrypted documents