protected function setForm(Doozr_Form_Service_Component_Interface_Form $form = null)
    {
        // Check for scope inject requirement
        if (null !== $form && null === $form->getName()) {
            $form->setName($this->getScope());
        }

        $this->form = $form;
    }
protected function setForm(Doozr_Form_Service_Component_Interface_Form $form = null)
    {
        // Check for scope inject requirement
        if (null !== $form && null === $form->getName()) {
            $form->setName($this->getScope());
        }

        $this->form = $form;
    }
protected function setForm ( Doozr_Form_Service_Component_Interface_Form $ form = null ) { // Check for scope inject requirement if ( null !== $ form && null === $ form -> getName ( ) ) { $ form -> setName ( $ this -> getScope ( ) ) ; } $ this -> form = $ form ; }
Setter for form.

@param Doozr_Form_Service_Component_Interface_Form $form The form instance to set

@author Benjamin Carl <opensource@clickalicious.de>
Setter for form .