ZenValidatorConstraint::getConstraintName PHP 메소드

getConstraintName() 공개 메소드

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
리턴 string
    public function getConstraintName()
    {
        return str_replace('Constraint_', '', $this->class);
    }