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

31 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: IsTrue
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 true.\n# *\n# * @author Bernhard Schussek\
\ <bschussek@gmail.com>\n# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY |\
\ \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class IsTrue extends\
\ Constraint\n# {\n# public const NOT_TRUE_ERROR = '2beabf1c-54c0-4882-a928-05249b26e23b';\n\
# \n# protected const ERROR_NAMES = [\n# self::NOT_TRUE_ERROR => 'NOT_TRUE_ERROR',\n\
# ];\n# \n# public string $message = 'This value should be true.';\n# \n# /**\n\
# * @param array<string,mixed>|null $options\n# * @param string[]|null \
\ $groups"
traits:
- Symfony\Component\Validator\Constraint
interfaces: []