public function buildTab()
    {
        $tab = $this->tab;
        $tab->setParameters($this->parametersToView);
        $this->tab = null;
        $this->parametersToView = [];
        return $tab;
    }