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

40 lines
1.5 KiB
YAML

name: Currency
class_comment: null
dependencies:
- name: Currencies
type: class
source: Symfony\Component\Intl\Currencies
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- 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: groups
default: 'null'
- name: payload
default: 'null'
comment: "# * Validates that a value is a valid 3-letter ISO 4217 currency name.\n\
# *\n# * @see https://en.wikipedia.org/wiki/ISO_4217\n# *\n# * @author Miha Vrhovnik\
\ <miha.vrhovnik@pagein.si>\n# * @author Bernhard Schussek <bschussek@gmail.com>\n\
# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY | \\Attribute::TARGET_METHOD\
\ | \\Attribute::IS_REPEATABLE)]\n# class Currency extends Constraint\n# {\n#\
\ public const NO_SUCH_CURRENCY_ERROR = '69945ac1-2db4-405f-bec7-d2772f73df52';\n\
# \n# protected const ERROR_NAMES = [\n# self::NO_SUCH_CURRENCY_ERROR => 'NO_SUCH_CURRENCY_ERROR',\n\
# ];\n# \n# public string $message = 'This value is not a valid currency.';\n\
# \n# /**\n# * @param array<string,mixed>|null $options\n# * @param string[]|null\
\ $groups"
traits:
- Symfony\Component\Intl\Currencies
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\Exception\LogicException
interfaces: []