public function createFormBuilder($data = null, array $options = array())
    {
        if (version_compare(phpversion(), '5.5', '<')) {
            return $this->_container->get('form.factory')->createBuilder('form', $data, $options);
        }
        else {
            return $this->_container->get('form.factory')->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', $data, $options);
        }
    }
public function createFormBuilder($data = null, array $options = array())
    {
        if (version_compare(phpversion(), '5.5', '<')) {
            return $this->_container->get('form.factory')->createBuilder('form', $data, $options);
        }
        else {
            return $this->_container->get('form.factory')->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', $data, $options);
        }
    }
public function createFormBuilder ( $ data = null , array $ options = array ( ) ) { if ( version_compare ( phpversion ( ) , '5.5' , '<' ) ) { return $ this -> _container -> get ( 'form.factory' ) -> createBuilder ( 'form' , $ data , $ options ) ; } else { return $ this -> _container -> get ( 'form.factory' ) -> createBuilder ( 'Symfony\Component\Form\Extension\Core\Type\FormType' , $ data , $ options ) ; } }
create form builder

@param type $data
@param array $options
@return type
create form builder