api/symfony/Component/Validator/Constraints/Issn.yaml
2024-09-26 02:03:21 -07:00

48 lines
2.3 KiB
YAML

name: Issn
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: caseSensitive
default: 'null'
- name: requireHyphen
default: 'null'
- name: groups
default: 'null'
- name: payload
default: 'null'
comment: "# * Validates that a value is a valid International Standard Serial Number\
\ (ISSN).\n# *\n# * @see https://en.wikipedia.org/wiki/ISSN\n# *\n# * @author\
\ Antonio J. Garc\xEDa Lagar <aj@garcialagar.es>\n# * @author Bernhard Schussek\
\ <bschussek@gmail.com>\n# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY |\
\ \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class Issn extends\
\ Constraint\n# {\n# public const TOO_SHORT_ERROR = '6a20dd3d-f463-4460-8e7b-18a1b98abbfb';\n\
# public const TOO_LONG_ERROR = '37cef893-5871-464e-8b12-7fb79324833c';\n# public\
\ const MISSING_HYPHEN_ERROR = '2983286f-8134-4693-957a-1ec4ef887b15';\n# public\
\ const INVALID_CHARACTERS_ERROR = 'a663d266-37c2-4ece-a914-ae891940c588';\n#\
\ public const INVALID_CASE_ERROR = '7b6dd393-7523-4a6c-b84d-72b91bba5e1a';\n\
# public const CHECKSUM_FAILED_ERROR = 'b0f92dbc-667c-48de-b526-ad9586d43e85';\n\
# \n# protected const ERROR_NAMES = [\n# self::TOO_SHORT_ERROR => 'TOO_SHORT_ERROR',\n\
# self::TOO_LONG_ERROR => 'TOO_LONG_ERROR',\n# self::MISSING_HYPHEN_ERROR => 'MISSING_HYPHEN_ERROR',\n\
# self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',\n# self::INVALID_CASE_ERROR\
\ => 'INVALID_CASE_ERROR',\n# self::CHECKSUM_FAILED_ERROR => 'CHECKSUM_FAILED_ERROR',\n\
# ];\n# \n# public string $message = 'This value is not a valid ISSN.';\n# public\
\ bool $caseSensitive = false;\n# public bool $requireHyphen = false;\n# \n# /**\n\
# * @param array<string,mixed>|null $options\n# * @param bool|null \
\ $caseSensitive Whether to allow the value to end with a lowercase character\
\ (defaults to false)\n# * @param bool|null $requireHyphen Whether\
\ to require a hyphenated ISSN value (defaults to false)\n# * @param string[]|null\
\ $groups"
traits:
- Symfony\Component\Validator\Constraint
interfaces: []