src/Html.php
public function setForm($Form)
    {
        if (! is_object($Form) || ! $Form instanceof Helpers\Form) {
            throw new \InvalidArgumentException(
                'The Form Object must be a valid Helpers\Form Object'
            );
        }
        $this->Form = $Form;

        return true;
    }
public function setForm($Form)
    {
        if (! is_object($Form) || ! $Form instanceof Helpers\Form) {
            throw new \InvalidArgumentException(
                'The Form Object must be a valid Helpers\Form Object'
            );
        }
        $this->Form = $Form;

        return true;
    }
public function setForm ( $ Form ) { if ( ! is_object ( $ Form ) || ! $ Form instanceof Helpers \ Form ) { throw new \ InvalidArgumentException ( 'The Form Object must be a valid Helpers\Form Object' ) ; } $ this -> Form = $ Form ; return true ; }
check and set the Form Object

@param   Object  Instance of an Helpers\Form
@return  bool
@throws  \InvalidArgumentException
check and set the Form Object