protected function createBlockView(FormView $view)
    {
        $bView = new BlockView();
        $bView->vars = $view->vars;
        $bView->vars['block'] = $bView;
        unset($bView->vars['form']);

        return $bView;
    }
protected function createBlockView(FormView $view)
    {
        $bView = new BlockView();
        $bView->vars = $view->vars;
        $bView->vars['block'] = $bView;
        unset($bView->vars['form']);

        return $bView;
    }
protected function createBlockView ( FormView $ view ) { $ bView = new BlockView ( ) ; $ bView -> vars = $ view -> vars ; $ bView -> vars [ 'block' ] = $ bView ; unset ( $ bView -> vars [ 'form' ] ) ; return $ bView ; }
Create the block view with the form view.

@param FormView $view The form view

@return BlockView
Create the block view with the form view .