Bundle/CoreBundle/Helper/CurrentViewHelper.php
public function setCurrentView(View $currentView)
    {
        if ($this->currentView == null) {
            $this->currentView = clone $currentView;
        }
        $this->updatedCurrentView = $currentView;

        return $this;
    }
public function setCurrentView(View $currentView)
    {
        if ($this->currentView == null) {
            $this->currentView = clone $currentView;
        }
        $this->updatedCurrentView = $currentView;

        return $this;
    }
public function setCurrentView ( View $ currentView ) { if ( $ this -> currentView == null ) { $ this -> currentView = clone $ currentView ; } $ this -> updatedCurrentView = $ currentView ; return $ this ; }
Set currentView.

@param View $currentView

@return $this
Set currentView .