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

30 lines
1.1 KiB
YAML

name: NotNull
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 not strictly equal to null.\n# *\n# * @author\
\ Bernhard Schussek <bschussek@gmail.com>\n# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY\
\ | \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class NotNull\
\ extends Constraint\n# {\n# public const IS_NULL_ERROR = 'ad32d13f-c3d4-423b-909a-857b961eb720';\n\
# \n# protected const ERROR_NAMES = [\n# self::IS_NULL_ERROR => 'IS_NULL_ERROR',\n\
# ];\n# \n# public string $message = 'This value should not be null.';\n# \n#\
\ /**\n# * @param array<string,mixed>|null $options\n# * @param string[]|null\
\ $groups"
traits:
- Symfony\Component\Validator\Constraint
interfaces: []