ZenValidatorConstraint::getConstraintName PHP Méthode

getConstraintName() public méthode

Gets the name of this constraint from it's classname which should correspond to the string that parsley uses to identify a constraint type
public getConstraintName ( ) : string
Résultat string
    public function getConstraintName()
    {
        return str_replace('Constraint_', '', $this->class);
    }