public function getViewBuilder()
    {
        if (null === $this->viewBuilder) {
            $this->viewBuilder = new View\ViewBuilder();
            $this->viewBuilder->setEditor($this);
        }

        return $this->viewBuilder;
    }
public function getViewBuilder()
    {
        if (null === $this->viewBuilder) {
            $this->viewBuilder = new View\ViewBuilder();
            $this->viewBuilder->setEditor($this);
        }

        return $this->viewBuilder;
    }
public function getViewBuilder ( ) { if ( null === $ this -> viewBuilder ) { $ this -> viewBuilder = new View \ ViewBuilder ( ) ; $ this -> viewBuilder -> setEditor ( $ this ) ; } return $ this -> viewBuilder ; }
Returns the view builder.

@return View\ViewBuilder
Returns the view builder .