name: DateValidator class_comment: '# * @author Bernhard Schussek <bschussek@gmail.com>' dependencies: - name: Constraint type: class source: Symfony\Component\Validator\Constraint - name: ConstraintValidator type: class source: Symfony\Component\Validator\ConstraintValidator - name: UnexpectedTypeException type: class source: Symfony\Component\Validator\Exception\UnexpectedTypeException - name: UnexpectedValueException type: class source: Symfony\Component\Validator\Exception\UnexpectedValueException properties: [] methods: - name: checkDate visibility: public parameters: - name: year - name: month - name: day comment: "# * @author Bernhard Schussek <bschussek@gmail.com>\n# */\n# class DateValidator\ \ extends ConstraintValidator\n# {\n# public const PATTERN = '/^(?<year>\\d{4})-(?<month>\\\ d{2})-(?<day>\\d{2})$/';\n# \n# /**\n# * Checks whether a date is valid.\n# *\n\ # * @internal" - name: validate visibility: public parameters: - name: value - name: constraint comment: null traits: - Symfony\Component\Validator\Constraint - Symfony\Component\Validator\ConstraintValidator - Symfony\Component\Validator\Exception\UnexpectedTypeException - Symfony\Component\Validator\Exception\UnexpectedValueException interfaces: []