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

        return $this;
    }