class PassportElementErrorTranslationFile implements PassportElementErrorInterface

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

Methods

__construct(string $source, string $type, string $file_hash, string $message)

No description

string
getSource()

Error source, must be translation_file.

string
getType()

Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.

string
getFileHash()

Base64-encoded file hash.

string
getMessage()

Error message.

Details

at line 16
__construct(string $source, string $type, string $file_hash, string $message)

No description

Parameters

string $source
string $type
string $file_hash
string $message

at line 27
string getSource()

Error source, must be translation_file.

Return Value

string

at line 35
string getType()

Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.

Return Value

string

at line 43
string getFileHash()

Base64-encoded file hash.

Return Value

string

at line 51
string getMessage()

Error message.

Return Value

string