platform/api/symfony/Component/Validator/Constraints/Bic.yaml

79 lines
3.8 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Bic
class_comment: null
dependencies:
- name: Countries
type: class
source: Symfony\Component\Intl\Countries
- name: PropertyAccess
type: class
source: Symfony\Component\PropertyAccess\PropertyAccess
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: InvalidArgumentException
type: class
source: Symfony\Component\Validator\Exception\InvalidArgumentException
- name: LogicException
type: class
source: Symfony\Component\Validator\Exception\LogicException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: options
default: 'null'
- name: message
default: 'null'
- name: iban
default: 'null'
- name: ibanPropertyPath
default: 'null'
- name: ibanMessage
default: 'null'
- name: groups
default: 'null'
- name: payload
default: 'null'
- name: mode
default: 'null'
comment: "# * Ensures that the value is valid against the BIC format.\n# *\n# *\
\ @see https://en.wikipedia.org/wiki/ISO_9362\n# *\n# * @author Michael Hirschler\
\ <michael.vhirsch@gmail.com>\n# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY\
\ | \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class Bic extends\
\ Constraint\n# {\n# public const VALIDATION_MODE_STRICT = 'strict';\n# public\
\ const VALIDATION_MODE_CASE_INSENSITIVE = 'case-insensitive';\n# \n# public const\
\ VALIDATION_MODES = [\n# self::VALIDATION_MODE_STRICT,\n# self::VALIDATION_MODE_CASE_INSENSITIVE,\n\
# ];\n# \n# public const INVALID_LENGTH_ERROR = '66dad313-af0b-4214-8566-6c799be9789c';\n\
# public const INVALID_CHARACTERS_ERROR = 'f424c529-7add-4417-8f2d-4b656e4833e2';\n\
# /**\n# * @deprecated since Symfony 7.1, to be removed in 8.0\n# */\n# public\
\ const INVALID_BANK_CODE_ERROR = '00559357-6170-4f29-aebd-d19330aa19cf';\n# public\
\ const INVALID_COUNTRY_CODE_ERROR = '1ce76f8d-3c1f-451c-9e62-fe9c3ed486ae';\n\
# public const INVALID_CASE_ERROR = '11884038-3312-4ae5-9d04-699f782130c7';\n\
# public const INVALID_IBAN_COUNTRY_CODE_ERROR = '29a2c3bb-587b-4996-b6f5-53081364cea5';\n\
# \n# protected const ERROR_NAMES = [\n# self::INVALID_LENGTH_ERROR => 'INVALID_LENGTH_ERROR',\n\
# self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',\n# self::INVALID_BANK_CODE_ERROR\
\ => 'INVALID_BANK_CODE_ERROR',\n# self::INVALID_COUNTRY_CODE_ERROR => 'INVALID_COUNTRY_CODE_ERROR',\n\
# self::INVALID_CASE_ERROR => 'INVALID_CASE_ERROR',\n# ];\n# \n# public string\
\ $message = 'This is not a valid Business Identifier Code (BIC).';\n# public\
\ string $ibanMessage = 'This Business Identifier Code (BIC) is not associated\
\ with IBAN {{ iban }}.';\n# public ?string $iban = null;\n# public ?string $ibanPropertyPath\
\ = null;\n# public ?string $mode = self::VALIDATION_MODE_STRICT;\n# \n# /**\n\
# * @param array<string,mixed>|null $options\n# * @param string|null \
\ $iban An IBAN value to validate that its country code is the\
\ same as the BIC's one\n# * @param string|null $ibanPropertyPath\
\ Property path to the IBAN value when validating objects\n# * @param string[]|null\
\ $groups\n# * @param string|null $mode The\
\ mode used to validate the BIC; pass null to use the default mode (strict)"
traits:
- Symfony\Component\Intl\Countries
- Symfony\Component\PropertyAccess\PropertyAccess
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\InvalidArgumentException
- Symfony\Component\Validator\Exception\LogicException
interfaces: []