public function bindTo(IFieldAccessor $accessor) : FormFieldBindingDefinition
    {
        return new FormFieldBindingDefinition($this->field, new FieldBinding($this->field->getName(), $accessor));
    }
public function bindTo(IFieldAccessor $accessor) : FormFieldBindingDefinition
    {
        return new FormFieldBindingDefinition($this->field, new FieldBinding($this->field->getName(), $accessor));
    }
public function bindTo ( IFieldAccessor $ accessor ) : FormFieldBindingDefinition { return new FormFieldBindingDefinition ( $ this -> field , new FieldBinding ( $ this -> field -> getName ( ) , $ accessor ) ) ; }
Binds the field using the supplied field accessor.

@param IFieldAccessor $accessor

@return FormFieldBindingDefinition
Binds the field using the supplied field accessor .