protected function getTitle(Label $label, $raw = false)
    {
        if (!$label->isPlain) {
            return $this->getTranslatedTitle($label, $raw);
        }

        return $this->getPlainTitle($label, $raw);
    }
protected function getTitle(Label $label, $raw = false)
    {
        if (!$label->isPlain) {
            return $this->getTranslatedTitle($label, $raw);
        }

        return $this->getPlainTitle($label, $raw);
    }
protected function getTitle ( Label $ label , $ raw = false ) { if ( ! $ label -> isPlain ) { return $ this -> getTranslatedTitle ( $ label , $ raw ) ; } return $ this -> getPlainTitle ( $ label , $ raw ) ; }
Gets title to display from a given label.

@param CrestApps\CodeGenerator\Models\Label $label
@param bool $raw

@return $this
Gets title to display from a given label .