public function bind(&$property) : FormObjectFieldBindingBuilder
    {
        $typeDefiner  = $this->class->property($property);
        $propertyName = $this->loadTypeDefiner($typeDefiner);

        return new FormObjectFieldBindingBuilder(function (IField $field) use ($propertyName) {
            $this->fieldPropertyMap[$field->getName()] = $propertyName;
        });
    }
public function bind(&$property) : FormObjectFieldBindingBuilder
    {
        $typeDefiner  = $this->class->property($property);
        $propertyName = $this->loadTypeDefiner($typeDefiner);

        return new FormObjectFieldBindingBuilder(function (IField $field) use ($propertyName) {
            $this->fieldPropertyMap[$field->getName()] = $propertyName;
        });
    }
public function bind ( & $ property ) : FormObjectFieldBindingBuilder { $ typeDefiner = $ this -> class -> property ( $ property ) ; $ propertyName = $ this -> loadTypeDefiner ( $ typeDefiner ) ; return new FormObjectFieldBindingBuilder ( function ( IField $ field ) use ( $ propertyName ) { $ this -> fieldPropertyMap [ $ field -> getName ( ) ] = $ propertyName ; } ) ; }
Binds the property to the the supplied field

@param mixed $property

@return FormObjectFieldBindingBuilder
@throws InvalidPropertyDefinitionException
Binds the property to the the supplied field