open-orchestra/open-orchestra-user-bundle

View on GitHub
UserBundle/Resources/config/validator.yml

Summary

Maintainability
Test Coverage
parameters:
    open_orchestra_user.validator.complex_user_password.class: OpenOrchestra\UserBundle\Validator\Constraints\ComplexUserPasswordValidator

services:
    validator.complex_user_password:
        class: '%open_orchestra_user.validator.complex_user_password.class%'
        arguments:
            - '@security.token_storage'
            - '@security.encoder_factory'
        tags:
            - { name: validator.constraint_validator, alias: complex_user_password }