ZenValidatorConstraint::setField PHP Method

setField() public method

Set the field this constraint is applied to
public setField ( FormField $field ) : this
$field FormField
return this
    public function setField(FormField $field)
    {
        $this->field = $field;
        return $this;
    }