src/InfinityBase/Service/AbstractServiceTrait.php
protected function getForm($name)
    {
        if (!isset($this->form[$name])) {
            $this->form[$name] = $this->getServiceLocator()
                    ->get($this->getModuleNamespace() . '\Form\\' . $name);
        }
        return $this->form[$name];
    }
protected function getForm($name)
    {
        if (!isset($this->form[$name])) {
            $this->form[$name] = $this->getServiceLocator()
                    ->get($this->getModuleNamespace() . '\Form\\' . $name);
        }
        return $this->form[$name];
    }
protected function getForm ( $ name ) { if ( ! isset ( $ this -> form [ $ name ] ) ) { $ this -> form [ $ name ] = $ this -> getServiceLocator ( ) -> get ( $ this -> getModuleNamespace ( ) . '\Form\\' . $ name ) ; } return $ this -> form [ $ name ] ; }
Retrieve a form

@param string $name
@return Form
Retrieve a form