public function withFormData(IForm $form)
    {
        call_user_func($this->callback, new FormDataWidget($this->name, $this->label, $this->authSystem, $this->requiredPermissions, $form));
    }
public function withFormData(IForm $form)
    {
        call_user_func($this->callback, new FormDataWidget($this->name, $this->label, $this->authSystem, $this->requiredPermissions, $form));
    }
public function withFormData ( IForm $ form ) { call_user_func ( $ this -> callback , new FormDataWidget ( $ this -> name , $ this -> label , $ this -> authSystem , $ this -> requiredPermissions , $ form ) ) ; }
Defines the widget to contain the form data from the supplied form.

@param IForm $form

@throws InvalidArgumentException
Defines the widget to contain the form data from the supplied form .