api/symfony/Component/Validator/Constraints/PasswordStrengthValidator.yaml

49 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: PasswordStrengthValidator
class_comment: null
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: __construct
visibility: public
parameters:
- name: passwordStrengthEstimator
default: 'null'
comment: '# * @param (\Closure(string):PasswordStrength::STRENGTH_*)|null $passwordStrengthEstimator'
- name: validate
visibility: public
parameters:
- name: value
- name: constraint
comment: null
- name: estimateStrength
visibility: public
parameters:
- name: password
comment: '# * Returns the estimated strength of a password.
# *
# * The higher the value, the stronger the password.
# *
# * @return PasswordStrength::STRENGTH_*'
traits:
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\ConstraintValidator
- Symfony\Component\Validator\Exception\UnexpectedTypeException
- Symfony\Component\Validator\Exception\UnexpectedValueException
interfaces: []