src/Attribute/Base.php
public function getName()
    {
        if (is_array($this->arrData['name'])) {
            return $this->getLangValue($this->get('name')) ?: $this->getColName();
        }
        return $this->arrData['name'] ?: $this->getColName();
    }
public function getName()
    {
        if (is_array($this->arrData['name'])) {
            return $this->getLangValue($this->get('name')) ?: $this->getColName();
        }
        return $this->arrData['name'] ?: $this->getColName();
    }
Retrieve the human readable name (or title) from the attribute.

If the MetaModel is translated, the currently active language is used,
with properly falling back to the defined fallback language.

@return string the human readable name