protected function getForm(Instance $instance = null)
    {
        if($instance == null) {
            $instance = $this->getManager()->createNew();
        }
        
        return $this->createForm(
            $this->container->get('ringo_php_redmon.form.instance_type'),
            $instance
        );
    }
protected function getForm(Instance $instance = null)
    {
        if($instance == null) {
            $instance = $this->getManager()->createNew();
        }
        
        return $this->createForm(
            $this->container->get('ringo_php_redmon.form.instance_type'),
            $instance
        );
    }
protected function getForm ( Instance $ instance = null ) { if ( $ instance == null ) { $ instance = $ this -> getManager ( ) -> createNew ( ) ; } return $ this -> createForm ( $ this -> container -> get ( 'ringo_php_redmon.form.instance_type' ) , $ instance ) ; }
Create Form instance

@param Instance $instance
@return \Symfony\Component\Form\Form
Create Form instance