platform/api/symfony/Component/Validator/Constraints/Iban.yaml
2024-09-02 10:44:11 -07:00

40 lines
1.9 KiB
YAML

name: Iban
class_comment: null
dependencies:
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: options
default: 'null'
- name: message
default: 'null'
- name: groups
default: 'null'
- name: payload
default: 'null'
comment: "# * Validates that a value is a valid bank account number according to\
\ the IBAN format.\n# *\n# * @see https://en.wikipedia.org/wiki/International_Bank_Account_Number\n\
# *\n# * @author Manuel Reinhard <manu@sprain.ch>\n# * @author Michael Schummel\n\
# * @author Bernhard Schussek <bschussek@gmail.com>\n# */\n# #[\\Attribute(\\\
Attribute::TARGET_PROPERTY | \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n\
# class Iban extends Constraint\n# {\n# public const INVALID_COUNTRY_CODE_ERROR\
\ = 'de78ee2c-bd50-44e2-aec8-3d8228aeadb9';\n# public const INVALID_CHARACTERS_ERROR\
\ = '8d3d85e4-784f-4719-a5bc-d9e40d45a3a5';\n# public const CHECKSUM_FAILED_ERROR\
\ = 'b9401321-f9bf-4dcb-83c1-f31094440795';\n# public const INVALID_FORMAT_ERROR\
\ = 'c8d318f1-2ecc-41ba-b983-df70d225cf5a';\n# public const NOT_SUPPORTED_COUNTRY_CODE_ERROR\
\ = 'e2c259f3-4b46-48e6-b72e-891658158ec8';\n# \n# protected const ERROR_NAMES\
\ = [\n# self::INVALID_COUNTRY_CODE_ERROR => 'INVALID_COUNTRY_CODE_ERROR',\n#\
\ self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',\n# self::CHECKSUM_FAILED_ERROR\
\ => 'CHECKSUM_FAILED_ERROR',\n# self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',\n\
# self::NOT_SUPPORTED_COUNTRY_CODE_ERROR => 'NOT_SUPPORTED_COUNTRY_CODE_ERROR',\n\
# ];\n# \n# public string $message = 'This is not a valid International Bank Account\
\ Number (IBAN).';\n# \n# /**\n# * @param array<string,mixed>|null $options\n\
# * @param string[]|null $groups"
traits:
- Symfony\Component\Validator\Constraint
interfaces: []