public function getFormById($id, $type, $typeId, $locale = null, $name = 'form')
    {
        $form = $this->formBuilder->build((int) $id, $type, $typeId, $locale, $name);

        if (!$form) {
            return;
        }

        return $form->createView();
    }
public function getFormById($id, $type, $typeId, $locale = null, $name = 'form')
    {
        $form = $this->formBuilder->build((int) $id, $type, $typeId, $locale, $name);

        if (!$form) {
            return;
        }

        return $form->createView();
    }
public function getFormById ( $ id , $ type , $ typeId , $ locale = null , $ name = 'form' ) { $ form = $ this -> formBuilder -> build ( ( int ) $ id , $ type , $ typeId , $ locale , $ name ) ; if ( ! $ form ) { return ; } return $ form -> createView ( ) ; }
Returns FormView by given params.

@param int $id
@param string $type
@param string $typeId
@param mixed $locale
@param string $name

@return FormView
Returns FormView by given params .