class PassportElementErrorFiles implements PassportElementErrorInterface

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

Methods

__construct(string $source, string $type, string[] $file_hashes, string $message)

No description

string
getSource()

Error source, must be files.

string
getType()

The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.

array
getFileHashes()

List of base64-encoded file hashes.

string
getMessage()

Error message.

Details

at line 16
__construct(string $source, string $type, string[] $file_hashes, string $message)

No description

Parameters

string $source
string $type
string[] $file_hashes
string $message

at line 27
string getSource()

Error source, must be files.

Return Value

string

at line 35
string getType()

The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.

Return Value

string

at line 45
array getFileHashes()

List of base64-encoded file hashes.

Return Value

array

at line 53
string getMessage()

Error message.

Return Value

string