src/Tabs/TabsView.php
public function addTitle($name, $title = null)
    {
        if (is_array($name)) {
            return $this->setTitles($name);
        }

        return $this->_preparedTitle($name, $title);
    }
public function addTitle($name, $title = null)
    {
        if (is_array($name)) {
            return $this->setTitles($name);
        }

        return $this->_preparedTitle($name, $title);
    }
@param string|array  $name
@param string|null   $title

@return $this